February 23, 2010 at 8:27 am
Hi,
In sql server 2000, I want to select the data of server 'B' from server 'A'. My restriction is I can't use linked server/table copy. I have been told that I can use data source. Any body can help me how to use data source in the script to access the data of server B from server A.
Thanks in advance,
Regards,
Jayant
February 23, 2010 at 8:31 am
Jayant i think they are refering to the OPENROWSET command; you can substitute SELECT * FROM YOURTABLE where i'm using EXEC dbo.sp_Who for the command
SELECT *
FROM OPENROWSET('SQLOLEDB','Server=yourservernamehere;Trusted_Connection=Yes;Database=Master',
'Set FmtOnly OFF; EXEC dbo.sp_Who')
Lowell
February 24, 2010 at 8:01 am
Hi Lowell,
Thanks a lot. I was searching for the same thing what you have given. It has really helped to build the logic I was looking for. Your help I can't express in words.
Thanks a lot once again.
Jayant
February 24, 2010 at 8:25 am
thank you Jayant, I'm glad i could point you in the right direction with your project.
feedback like yours is exactly why I like to help here; knowing I got to help someone a little bit.
Lowell
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply