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

is a sample project

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -