简体   繁体   中英

How to connect to SQL Server 2008 R2 using SQL Server 2008 Express via stored procedures

如何通过存储过程使用SQL Server 2008 Express连接访问SQL Server 2008 R2数据库中的数据?

Firstly, you will need to create a linked server. See this link for more details: http://msdn.microsoft.com/en-us/library/ms188279.aspx

Next, you will need to use a 4 part name. For example:

SELECT * FROM Server.Database.Schema.Table

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM