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?
Re: ODBC SQLBulkOperations obtain Identities
Found out I have to do Fetch after SQLBulkOperations
Kind of annoying to just Fetch all columns and only need data for one column (the identity column)