2010年4月22日 星期四

MSSQL Sql statement works on two databases

First of all, the two databases must be using the same Database Connection.

SQL syntax:
insert into db1.[user].tableA select * from db2.[user].tableB

沒有留言:

張貼留言