sqldynftch() — Fetch Next Row of Dynamic Cursor
Fetches the next row of a dynamic open cursor. This function supports the dynamic EXEC SQL FETCH... statement sequence.
This function returns normalized values. For more information, see the function return values in the "General Diagnostics" section in this chapter:
sqln
A pointer to the request handle for the open cursor. For more information on request handles, see the "SQL Request Handles" section.
psqlda
The pointer to the SQL descriptor area to receive the column data values. Be sure to allocate data storage for each column in the descriptor area.
NOTE
EXAMPLEThis example fetches the next row of cursor
C1
(associated with a cursor specification prepared and opened using request handlesql1
) into the SQL descriptor area to whichpsqlda
points:
SEE ALSO
sqlfetch() — Fetch Next Row of Open Cursor for static fetches, sqldynposfetch() — Fetch Row of Dynamic Open Cursor for positioned fetches.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |