Linked server setup between SQL Server Express and SQL Server

自古美人都是妖i 提交于 2019-12-23 03:54:27

问题


Can you please explain how to setup a linked server between a SQL Server (A) and a SQL Server Express (B) scenario.

Server A is SQL Server 2000, whereas Server B is SQL Server 2005 Express.

I have set these up in the past, but none where connected to a SQL Server Express version.

Thanks, Billy


回答1:


You can use this sp to do it.

EXEC sp_addlinkedsrvlogin @rmtsrvname = 'MylinkedServer',
    @useself = 'FALSE',
    @locallogin = NULL,
    @rmtuser = 'me',
    @rmtpassword =  'myrmtpassword'



回答2:


You could try using the sp_addlinkedserver stored procedure:

https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/datacenter/?p=133

Sql server Express supports linked servers



来源:https://stackoverflow.com/questions/1603463/linked-server-setup-between-sql-server-express-and-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!