简体   繁体   中英

How can i query data from a table in Ms Access in my SQL server 2005 stored procedure?

如何从我的SQL Server 2005存储过程中的Ms Access中的表中查询数据?

Example syntax from here

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

I think Microsoft.ACE.OLEDB.12.0 or Microsoft.ACE.OLEDB.14.0 might be preferred to Jet though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM