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 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply