Microsoft
Software
Hardware
Network
Question : how to insert into a table from another table which is at different database
I have a sybase tableA at severqa/A, now i want to insert the values at tableB at serverdev/B, the tables structure are the same.
insert into tableA
select * from serverdev.B.tableB
but it does not work, any idea?
thanks
Answer : how to insert into a table from another table which is at different database
You need to add the schema name when applying a server-based name. That is:
insert into tableA
select * from serverdev.B.dbo.tableB
Random Solutions
Hidden answers after logging in
VNC server Ubuntu 10.04
How to make IN operator to accept CSV which are varchar in SQL Server 2008
Need HP DMI Utility
Mac Mail only shows 90 days of deleted items
Replace sring on the first line and then replace ALL the following string(2 to eof)
Sort Mysql table with recent entries
How do I create a class that handles file I/O for a car rental reservation program?
Server 2008 R2 - Can Connect to Server By IP, but not computer name
VB.net 32bit&64bit COM Refereces?