最佳答案
当我在 SQLServer2000中使用 OPENROWSET
运行查询时,它可以正常工作。
But the same query in SQL Server 2008 generates the following error:
SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of ’Ad Hoc 分布式查询’ by using Sp _ configure