开发者

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

开发者 https://www.devze.com 2023-01-12 07:57 出处:网络
How 开发者_高级运维can i query data from a table in Ms Access in my SQL server 2005 stored procedure ?Example syntax from here

How 开发者_高级运维can i query data from a table in Ms Access in my SQL server 2005 stored procedure ?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消