Is there a way to use the existing Import features from SQL Server Manager, to import a CSV file and if the record (by primary key)exists update record and if it doesnt exist then insert or do i have to write custom scripts to do this?
-
1Import means inserting things. Updating existing data isn't importing. If you want to update existing data, import the new data into a staging table and update the production table with themPanagiotis Kanavos– Panagiotis Kanavos2017-04-28 14:02:28 +00:00Commented Apr 28, 2017 at 14:02
Add a comment
|