c# - Copy data between different tables using BCP (bulk insert) -
My progarm will be found in two tables, e.g. T1 (A, B, C) and T2 (B, C, D) (Tables are on different SQL Server) An additional column (D) and a column missing (A) in T2.
I need to copy lines from T1 to T2, as soon as possible (using Subscaleby). Column A should be omitted, column D should have some default values.
What does my selection statement look like? How do I get the default value for column D? Is there such a second, easy way?
Since you have marked C #, I can suggest using the here
Comments
Post a Comment