SQL to Access linked server

后端 未结 2 948
执笔经年
执笔经年 2020-12-11 09:43

I am trying to add a linked server to a Access database. I am using the following SQL code to do this.

exec sp_addlinkedserver 
@server = \'Test\',
@provide         


        
2条回答
  •  悲哀的现实
    2020-12-11 09:54

    I figured it out...

    The server running SQL Server is a 64Bit machine. The typical data connectivity component drivers did not work with this machine (ie the download that installs the Microsoft.Jet.OleDB.4.0 as a provider). I had to download the components for Access 2010 which has a 64Bit option.

    Download from here

    That installs the Microsoft.ACE.OLEDB.12.0 as a provider and I can use the SQL command that BradBenning mentioned in his post.

提交回复
热议问题