windows 如何将 Excel 2007 xlsx 文件中的数据导入 SQL Server 2000 数据库?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/188518/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to import data from Excel 2007 xlsx file into SQL Server 2000 Database?
提问by jinsungy
SQL Server 2000 doesn't seem to support the xml based .xlsx file types. Besides converting the file to a 97-2003 file type, how else can I achieve this?
SQL Server 2000 似乎不支持基于 xml 的 .xlsx 文件类型。除了将文件转换为 97-2003 文件类型之外,我还能如何实现?
采纳答案by ScottStonehouse
If you have Excel 2007, you might also have Access 2007.
如果您有 Excel 2007,您可能也有 Access 2007。
You can create an Access 2007 Access Data Project (.adp) file. Connect this to your SQL 2000 database. Then use the Access 2007 import table function to get the Excel 2007 data.
您可以创建 Access 2007 Access 数据项目 (.adp) 文件。将此连接到您的 SQL 2000 数据库。然后使用Access 2007 导入表格功能,获取Excel 2007 数据。