OpenRowSet and OpenDataSet without sysadmin rights

后端 未结 2 568
夕颜
夕颜 2020-12-21 09:09

Is there any way to use the OpenRowSet and OpenDataSet commands in SQL Server 2008 R2 without having to have SysAdmin rights?

I\'m trying to load data from an Excel

相关标签:
2条回答
  • 2020-12-21 09:49

    I have same problem and solve it with this instructions http://www.johnsoer.com/blog/?p=538

    Shortly: add dword register key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\YOUR_MSSQL_VERSION.YOR_INSTANCE_NAME\Providers\Microsoft.ACE.OLEDB.12.0\DisallowAdhocAccess to 0

    0 讨论(0)
  • 2020-12-21 09:54

    You don't necessarily require sysadmin rights, just the ADMINISTER BULK OPERATIONS permission (which is a server level permission but not quite sysadmin).

    If this isn't an option, you can try setting up a linked server connection and follow the method in this post.

    0 讨论(0)
提交回复
热议问题