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

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

WBOY
WBOYOriginal
2016-06-07 17:42:311448browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn