Hi,
Is there a functionality in the SQLCA to return the record count affected by the last sql select query. This is to eliminate my process of coding a
What i am trying to do is query the file
and i want to know how many records will be processed in my loop without resorting to the code above with the count()
Thanks,
Greg
Is there a functionality in the SQLCA to return the record count affected by the last sql select query. This is to eliminate my process of coding a
Code:
select count(field) into :reccount from mytable where field=:myvar
Code:
declare mycursor cursor for select field,field1,field2 from mytable where field=:myvar
Thanks,
Greg



Comment