You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# SQL Bulk Copy & Merge
2
2
3
-
This library aims to make easier specific workflows in .NET that copy table data between SQL Server databases.
3
+
This .NET library makes easier specific workflows that copy table data between SQL Server databases.
4
4
5
5
SQLBulkCopy is useful to copy between databases, but truncating the destination table each time before copying is not always possible or efficient.
6
6
An alternative workflow is to use SQLBulkCopy to copy to a temporary table and then run SQL MERGE between the temporary table and target.
7
7
Some other solutions that do this require extra work defining the table schemas or are dependant on a SQL stored proc.
8
8
9
-
This .NET library has the following methods:
9
+
This library has the following methods:
10
10
11
11
## CopyAndMerge
12
12
Uses SQLBulkCopy to copy data from a table or view in the source database to a temporary table in the target database before running SQL MERGE from the temporary table to the destination table.
0 commit comments