The application uses the SQLNumResultCols function to determine the number of result set columns. It uses the SQLDescribeCol function to determine the type and size of each column in the result set.
An application usually calls these functions after executing the statement with SQLExecute or SQLExecuteDirect.
If the application calls them after SQLPrepare but before SQLExecute, the driver PREPAREs the statement on the server. If the server is r12.0, the driver uses the default parameter type for any input parameters; otherwise, the driver uses the DESCRIBE INPUT option. This may result in an additional converse with the server.
|
Copyright © 2009 CA.
All rights reserved.
|
|