欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

【SQLServer】使用T-SQL访问远程数据库:openrowset 和 openquery 以及连接服务器的创建

程序员文章站 2024-01-25 15:52:04
...

█ 启用/关闭Ad Hoc Distributed Queries Ad Hoc Distributed Queries服务默认是关闭的,要使用openrowset 和 openquery访问远程数据库,需要在本地启用该服务 sp_configure ,sp_configure ,sp_configure ,sp_configure , 0 reconfigure

█ 启用/关闭Ad Hoc Distributed Queries
Ad Hoc Distributed Queries服务默认是关闭的,要使用openrowset 和 openquery访问远程数据库,香港虚拟主机,香港虚拟主机,需要在本地启用该服务

sp_configure ,sp_configure ,sp_configure ,sp_configure ,0 reconfigure ,香港空间