sqldynncols() — Get the Number of Columns in a Result Set
Gets the number of columns in a dynamic ESQL result set.
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 that a previous call to
sqldynprep()
returns. For more information on request handles, see the "SQL Request Handles" section.ncolumns
A pointer to an integer to receive the number of columns in the result set.
NOTES
EXAMPLEThis example prepares a cursor specification and returns the number of columns in the result set to ncolumns:
SEE ALSO
sqldynnparms() — Get the Number of Parameter Markers, sqldynprep() — Prepare a Dynamic SQL Statement
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |