Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 OpenQuery Statement ?

Author  Topic 

kappa02
Yak Posting Veteran

65 Posts

Posted - 2008-02-08 : 14:55:37
If I want to copy data from a production table into a database on a test server would using the OpenQuery Statement be the best way to go or can I use Insert Into ?

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-02-08 : 21:45:13
You need insert into ever with openquery or four-part name, both need linked server.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-08 : 23:33:47
You can also use Export,Import wizard in SQL Server Management Studio.
Go to Top of Page
   

- Advertisement -