--创建链接服务器
exec
sp_addlinkedserver
'ITSV '
,
' '
'SQLOLEDB '
'远程服务器名或ip地址 '
sp_addlinkedsrvlogin
'false '
null
'用户名 '
'密码 '