Thomas Borg Salling wrote:

Bo Lorentsen wrote:

Is it possible to get the total number of rows found in a cursor, or must I make a count(*) and then a select ?


Perhaps:
GET DIAGNOSTICS rc = ROW_COUNT;

Ok, and when I use the C interface the "DECLARE .." function will return the row count ?

Can I use PQntuples( res ) after the "DECLARE CURSOR" statement (if so, it don't work for me :-)) ?

/BL

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to