December 1st, 2012, 12:14 PM
ODBC SQLBulkOperations obtain Identities
I'm using SQLBulkOperations to insert rows in bulk. I'm using SQLBindCol to bind the columns before SQLBulkOperations().
But how do I obtain the Identities? The bound buffer for the Identity column does not get filled after SQLBulkOperations()
At first I tried to use Bookmarks (column 0), but it seems that that is some other value (thought it would be filled with identities). But now I thought it must be that the bound buffer for the Identity column itself must be updated, but it's not happening. Maybe I need to do something extra?
Last edited by ProgrammerC++; December 1st, 2012 at 12:16 PM.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.