sql server 에서 linked server 있는지 검사 Is there an “IF EXISTS” test for a linked server?
if exists(select * from sys.servers where name = N'NANUMTIP') begin print '있음!'; end
if exists(select * from sys.servers where name = N'NANUMTIP')
begin print '있음!'; end