启动Ad Hoc Distributed Queries进行启用OPENROWSET

启动后才可以使用Sql的openrowset

EXEC sp_configure 'show advanced options'1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'Ad Hoc Distributed Queries'1;
GO
RECONFIGURE;
GO
原文地址:https://www.cnblogs.com/hanguoji/p/1332887.html