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

来源:这里教程网 时间:2026-02-28 02:46:21 作者:

█ 启用/关闭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 ,香港空间

相关推荐