Possible Duplicate:
Copy tables from one database to another in SQL Server
I am trying to copy the data of one table into another table and both are of different Database say DB1 and DB2.Tables to create are TB1,TB2.but I am facing problem in doing so.The approach is
SELECT *
INTO temp2.dbo.B
FROM temp.dbo.A
and the error coming is
ERROR: syntax error at or near ".." LINE 2: INTO ui..golden_records_data ^
* Error *
ERROR: syntax error at or near ".." SQL state: 42601 Character: 19