Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert into select... 1

Status
Not open for further replies.

dmando84

Programmer
Dec 28, 2005
68
US
Hello,

I using SQL 2K5 and I am trying to use an insert into select statement between database servers. I have both servers registered and open in the object browser within Management studio. here is the syntax I have so far...

Insert into ServerName.DatabaseName.dbo.TableName
select * from ServerName.DatabaseName.dbo.TableName

Any help would be appreciated...
 
Look up linked servers in the Books OnLine. When going between two servers, they must be linked before you can run commands between them.

-SQLBill

Posting advice: FAQ481-4875
 
HI

We had a similar problem I believe. We had to install a service Pack.. after that we had no trouble.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top