Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个数据库的一些数据和另一个数据库的一些数据并执行一些操作。我们可以在 sql server 2008 中执行此操作吗?在我的项目中假设我想在CRM数据库中获取医生和化学家数据库的数据并想生成操作,我们该怎么做?
如果两个数据库都属于同一个 sql server 实例,则可以使用对象的完整限定名,例如[DbName].[scheme].[table]if 在不同实例上,则必须创建链接服务器。当然,按预期提供访问权限。
[DbName].[scheme].[table]