Wednesday, 5 September 2012

An ODBC/CLI application executes the following batch SQL: | System Administration

SQLExecDirect hStmt, "SELECT c1 FROM t1; SELECT c2 FROM t2;" SQL_NTS .;
Which API is used to discard the first result set and make the second available for processing?
A. SQLFetch.
B. SQLRowCount.
C. SQLMoreResults.
D. SQLCloseCursor.

Ans : C

No comments: