Excel and Access 97-2003、2007的连接串

来源:互联网 发布:数据分析师能干什么 编辑:程序博客网 时间:2024/05/23 15:04

下午在Excel导入SQL时,发现原连接Excel的数据连接串过时造成新的Excel格式*.xlsx无法识别。

把新的连接串替换~

分别测试03/07的Excel文件均可通过~

 

Office 97-2003版本

Excel:  Provider= Microsoft.Jet.OLEDB.4.0;Data Source=文件位置;Extended Properties=Excel 8.0;

Access: Provider= Microsoft.Jet.OLEDB.4.0;Data Source=文件位置;Jet OLEDB:Database Password=密码;

 

Office 2007版本

Excel: Provider= Microsoft.Ace.OleDB.12.0;Data Source=文件位置;Extended Properties=Excel 12.0;

Access: Provider= Microsoft.Ace.OleDB.12.0;Data Source=文件位置;Jet OLEDB:Database Password=密码;