且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在MS SQL Server 2012中使用Marge数据库

更新时间:2022-11-24 17:25:58

请阅读此处的文档:使用MERGE插入,更新和删除数据 [ ^ ]



要访问其他数据库中的表,请使用该表的全名:

Read the documentation here : Inserting, Updating, and Deleting Data by Using MERGE[^]

To access tables in other databases use the full name for that table :
select * from databasename.dbo.tablename 

; replace databasename and tablename with the ones you want