摘要:
建立链接服务器,然后查询时使用完整路径servername.dbname.schemaname.objectnamesp_addlinkedserver @server='CARDSRV',@srvproduct='',@catalog='iHRP',@provider='SQLOLEDB',@provstr='DRIVER={SQL Server};Initial Catalog=iHRP;SERVER=192.168.0.32;UID=sa;PWD=;'其中@server名称随便取,@catalog为数据库名, 阅读全文