How to enable Ad Hoc Distributed Queries

前端 未结 4 1764
谎友^
谎友^ 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:17

    sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    sp_configure 'Ad Hoc Distributed Queries', 1;
    GO
    RECONFIGURE;
    GO
    

提交回复
热议问题