ODBC Multiple Result sets

Please post support and help requests here.
Posts: 3
Joined: 07 Nov 2011, 23:55

ODBC Multiple Result sets

Postby frankeden » 08 Oct 2013, 22:19

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 be just 1?

Last bumped by frankeden on 08 Oct 2013, 22:19.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 5 guests