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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting data from one server database to another?

Status
Not open for further replies.

baran121

Programmer
Joined
Sep 8, 2005
Messages
337
Location
TR
hi,
i am trying to get data from one server's database to another.
how can i do thet?
please help me.
thanks.
 
i got answer.
i am using OPENDATASOURCE.

SELECT *
FROM OPENDATASOURCE(
'SQLOLEDB',
'Data Source=MYSERVERNAME;User ID=MYID;Password=MYPASS'
).MYDATABASE.dbo.MYTABLE

thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top