Search found 3 matches

Go to advanced search

by frankeden
08 Oct 2013, 22:19
Forum: Support
Topic: ODBC Multiple Result sets
Replies: 0
Views: 925

ODBC Multiple Result sets

If I have: Statement select(session); select << "SELECT Name,Address,Age FROM Person; SELECT Age FROM Person", now; RecordSet rs(select); std::size_t cols = rs.columnCount(); I expect cols to be 3, my question is, how can I move to the second recordset, where I expect the column count to b...
by frankeden
08 Nov 2011, 01:58
Forum: Support
Topic: odbc - unicode
Replies: 0
Views: 687

odbc - unicode

I changed the project settings (ODBC_x64_vs100.sln) from "Use Multi-byte character set" to "Use Unicode character set" and now I get lots of errors: eg: >src\Utility.cpp(78): error C2664: 'SQLDriversW' : cannot convert parameter 3 from 'SQLCHAR [512]' to 'SQLWCHAR *' Now SQLCHAR ...
by frankeden
08 Nov 2011, 00:04
Forum: General Discussion
Topic: ODBC - SQLCancel and asynchronous calls
Replies: 0
Views: 1004

ODBC - SQLCancel and asynchronous calls

In recent versions of ODBC, it has become possible to cancel a long running operation. The function to do this is SQLCancel. Here is a simple example of its use: // Specify that the statement is to be executed asynchronously. SQLSetStmtAttr(hstmt1, SQL_ATTR_ASYNC_ENABLE, SQL_ASYNC_ENABLE_ON, 0); // ...

Go to advanced search

cron