File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11# SQL Bulk Copy & Merge
22
3- This library aims to make easier and more efficient specific workflows in .NET that copy table data between SQL databases.
3+ This library aims to make easier specific workflows in .NET that copy table data between SQL Server databases.
44
55SQLBulkCopy is useful to copy between databases, but truncating the destination table each time before copying is not always possible or efficient.
66An alternative workflow is to use SQLBulkCopy to copy to a temporary table and then run SQL MERGE between the temporary table and target.
@@ -57,8 +57,9 @@ Console.WriteLine("Rows Copied: " + result.RowsCopied);
5757```
5858
5959## Notes
60- For the connections, the Source database requires READER permission, the Target database requires READER + WRITER + CREATE TABLE + EXECUTE permissions.
60+ Source database connection requires READER permission.
61+ Target database connection requires READER + WRITER + CREATE TABLE + EXECUTE permissions.
6162
6263Tested on SQL Server 2019.
6364
64- Spatial types (Geometry, Geography) are unsupported because SQLBulkCopy does not support them.
65+ Spatial types (Geometry, Geography) are unsupported because SQLBulkCopy does not support them. The library ignores unsupported columns.
You can’t perform that action at this time.
0 commit comments