I'm using the SQLOLEDB driver to execute "for xml" queries in sql server.
Results are being put into a _StreamPtr.
Some queries are going to be returning large data sets which I don't want to
load into memory.
What methods are available to govern how big the streams buffer is, when
data is done being send into the stream from the driver etc? Are there any
C++ (or other languages) examples out there?
I'd like to write results directly to disk in relatively small chunks as it
comes back from the db if possible.