c++ - Split a varbinary in a SELECT -


In one of my tables, I have a large verbal field, and I have downloaded a few parts to show a download progress indicator

thanks

You can do this only with SQLGetData ODBC calls If the buffer size you provide is smaller than the total word size, then it will fill the buffer and return it to SQL_SUCCESS_WITH_INFO and SQLSTATE 01004. If you say it again, it will return the next segment of data. Until all the data is retrieved, you repeat. To know your progress as a percentage, you can choose length as the second column.

See here for many tips here.


Comments