Cannot create an instance of OLE DB provider Microsoft.Jet.OLEDB.4.0 for linked server null

前端 未结 4 1187
有刺的猬
有刺的猬 2020-11-29 01:44

I am trying to export from my Table data into Excel through T-SQL query. After little research I came up with this

IN         


        
4条回答
  •  迷失自我
    2020-11-29 02:04

    Check out sp_configure /RECONFIGURE...

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

    See these links for more info:

    https://technet.microsoft.com/en-us/library/aa259616(v=sql.80).aspx

    http://blog.sqlauthority.com/2010/11/03/sql-server-fix-error-ms-jet-oledb-4-0-cannot-be-used-for-distributed-queries-because-the-provider-is-used-to-run-in-apartment-mode/

提交回复
热议问题