March 21, 2003 at 12:08 am
Who can I know if my linked server is up before I try to run query?
It's on on another site an before I run something I would like to know if it is up using a sp or something.
Thank you.
March 21, 2003 at 1:07 am
I don't think there is a way to test it, but you could of course issue a really simple query just to see if you get a respone. Something like:
SELECT 1 AS TestCol
--
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
June 1, 2003 at 7:31 pm
Try the utility ODBCPING.EXE on your SQL Server install CD. Use it with xp_cmdshell like this:
exec master.dbo.xp_cmdshell 'odbcping /DodbcDSN /Uremoteuseracct /Pwhatever'
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy