Hello there,
I need to programmatically create linked server and drop it in stored procedure.
I'm doing it using sp_addlinkedserver and sp_dropserver, but I get an error if there's already linked server with that name.
How do I check if linked server already exist, so I don't try to add it?
Searched Books Online, but no luck.
Thanks you
Steve
I need to programmatically create linked server and drop it in stored procedure.
I'm doing it using sp_addlinkedserver and sp_dropserver, but I get an error if there's already linked server with that name.
How do I check if linked server already exist, so I don't try to add it?
Searched Books Online, but no luck.
Thanks you
Steve