简体   繁体   English

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

[英]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. 我认为Microsoft.ACE.OLEDB.12.0Microsoft.ACE.OLEDB.14.0可能比Jet更受欢迎。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL Server 2005:如何在存储过程中“访问” XML表参数 - SQL Server 2005 : how to 'access' XML table parameter in stored procedure 从 MS Access 更新查询在 SQL 服务器中创建存储过程 - Create stored procedure in SQL Server from a MS Access update query 如何仅使用存储过程将Excel数据导入到我的Sql Server表中 - How can i import Excel Data Into My Sql Server Table Only Using Stored Procedure 如何从SQL Server 2005中的存储过程中提取参数? - How Can I Extract parameters from Stored Procedure in SQL Server 2005? 如何在 java/jsp 中执行 MS SQL 服务器存储过程,返回表数据? - How do I execute a MS SQL Server stored procedure in java/jsp, returning table data? 从 SQL Server 2005 存储过程访问 Web 服务 - Access Web Service from a SQL Server 2005 Stored Procedure 如何将我的 MS Access 数据导出到 SQL 服务器? - How can I export my MS Access Data to SQL Server? 如何在 SQL Server 2005 中调用 Function 表中的存储过程? - How to call the Stored Procedure in the Table Valued Function in SQL Server 2005? 如何将存储过程从MS SQL转换为MySql - How Can I Convert stored procedure from MS SQL to MySql 如何从IntelliJ IDEA 12中编辑MS SQL Server存储过程? - how can I edit MS SQL Server stored procedure from IntelliJ IDEA 12?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM