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
Hyper-V server 2008 R2
Visual studio Team System
Resolve User Name Display Issue and Change Admin PWD in Windows Server 2003
ACT Sage, reattach a database that has already been re-created possible?
SBS2008 migration to Windows 2008 Std
VPN split tunneling not working on ASA5510
Server does not boot
ASA 5505 DMZ won't Access Internet
PHP Statement that shows a percentage of a price
unable to enable Archive Mailbox in Exchange 2010