I have several remote SQL Servers which I get data from on a daily basis via a VPN link over the internet. The method that I use is a SQL Server Agent job that executes a stored procedure which connects to each remote server (sp_addlinkedserver), sets up a logon (sp_addlinkedsrvlogin), and copies the new data. This works fine, unless one of my remote sites data lines are down, at which point the whole job fails. I would like to check to see if the line is up within the stored procedure and skip that location if its down, but I can't find anything remotely similar to what I am trying to accomplish within BOL or on MSDN. Has anybody here ever done anything similar to this, or know of any documentation that they can point me at?
Thanks,
Erik
Thanks,
Erik