Closed
Description
I'm attempting to use WriteToServer(IDataReader)
to copy data from another database. The destination table exists, and is empty, and the columns I'm writing to exist in the table, so there's no good reason why it should fail. But it errors out on me, saying that 0 rows out of 10 were written.
When I debug into the source I find, in ResultSet.ReadResultSetHeaderAsync
, that the server is returning 10 skipped rows with 30 warnings... and then it never does anything to retrieve the warnings from the server, so I have no idea what the problem is or how to deal with it!
Is there any way I can retrieve this information?