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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -