exec sp_addlinkedserver ‘abc‘, ‘‘, ‘SQLOLEDB‘, ‘192.168.49.34‘ exec sp_addlinkedsrvlogin ‘abc‘, ‘false‘,null, ‘CentermUA‘, ‘123‘ go --查询 select * from abc.ccflowreal2.dbo.V_ND58Details --插入 select * into temp from abc.ccflowreal2.dbo.V_ND58Details exec sp_dropserver ‘abc‘, ‘droplogins‘
sql查询其他服务器数据库表
时间: 2025-01-03 01:04:33