BulkCopy with condition in C# for SQL Server

bcp c# sqlbulkcopy sql-server

Question

I'm attempting to transfer data across servers. I'm interested in just copying the previous day since the database I'm copying from is quite vast and updated every day.

Using bcp With the help of thequeryout option. Can this be set while usingSqlBulkCopy ?

1
1
8/20/2014 2:58:24 PM

Popular Answer

There is no way to include aWHERE phrase toSqlBulkCopy . The rows that you send to the filter, however, may beWriteToServer approach yourself.

2
8/20/2014 2:50:11 PM


Related Questions





Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow