How can I query data from a table in Ms Access in a SQL Server 2005 stored procedure?

How can I query data from a table in Ms Access in a SQL Server 2005 stored procedure?

+3
source share
1 answer

Syntax example here

SELECT * FROM 
OpenDataSource( 
    'Microsoft.Jet.OLEDB.4.0', 
    'Data Source="c:\temp\payroll.mdb";
    User ID=Admin;Password=;')...employees

I think that Microsoft.ACE.OLEDB.12.0or Microsoft.ACE.OLEDB.14.0may be preferable to Jet.

+5
source

Source: https://habr.com/ru/post/1760387/


All Articles