Hi,
Can any one please help me with the syntax to insert data from a table in a database to another table in another database on same server?
I am using following syntax
INSERT INTO
DestinationDatabase.DestinationDatabaseTable(
column1,
column2)
SELECT * FROM SourceDatabase.SourceDatabaseTable
Is this syntax correct?? Please help me with this? Can any one give me correct syntax? I am basically writing a Stored Proc which will need this.
Please help.
Thanks
Regards,
Anonymus