How to enable Ad Hoc Distributed Queries

前端 未结 4 1796
谎友^
谎友^ 2020-11-29 17:44

When I run a query with OPENROWSET in SQL Server 2000 it works.

But the same query in SQL Server 2008 generates the following error:

4条回答
  •  醉话见心
    2020-11-29 18:16

    The following command may help you..

    EXEC sp_configure 'show advanced options', 1
    RECONFIGURE
    GO
    EXEC sp_configure 'ad hoc distributed queries', 1
    RECONFIGURE
    GO
    

提交回复
热议问题