General information
Category:
Coding, syntax & commands
Title:
How to extract info from cursor?
Can anyone tell me how i might go about extracting the values from my queryresult which i store in a cursor?
Example:
i have a table with 3 data fields: a, b, c.
i execute an SQL query on above table and put the result into CURSOR called temp.
(Assume that queryresult is only a single row)
How would i retrieve individual values of a, b, and c from temp?
(Assume that queryresult is multiple rows)
How would i advance to the next row? And how can i backtrack a row?
Any help will be appreciated!
Many thanks :)
Mazlan Bin Mohammad
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only