Is there a way to do
SELECT A, B
INTO [SERVER\INSTANCE_B].DATABASE.DBO.TABLE
FROM [SERVER\INSTANCE_A].DATABASE.DBO.TABLE
between instances? Do I have to create a linked server for this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think that you have to create a linked server on one of the instances where you want to run this query to achieve this.
You can also use SQL Server Import and Export Wizard to transfer data if this is a one time transfer. You can right-click on the database where you want the data to be imported to and select
Tasks–>Import data...or alternatively select the database where you want the data to be exported from and selectTasks–>Export data...