问题
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