I need to export the Snowflake data (millions of records in a single table) using C# script and insert into a SQL Server table.
Bulk export operation times out. How to do this in batches in C# script?
I have not done it before but what J.Salas is referring to (linking servers) looks like the best solution and is described here or here .
If you can't do the above for some reason then it would be better to use a COPY
to dump CSV files into a storage bucket and then load it into your SQL Server database with one of its bulk load utilities.
The main thing here is not to built something yourself in C# because you'd just be re-inventing something that already exists and is faster/better than what you could do yourself.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.