简体   繁体   English

Excel to SQL-非常大的文件

[英]Excel to SQL - Very large file

I have a excel workbook with two sheets. 我有两张纸的Excel工作簿。 One sheet is maxed out and the other is over half way. 一张纸已用完,另一张纸已超过一半。 In total there's about 1.7 million rows. 总共大约有170万行。

Can someone help me with getting this into sql format. 有人可以帮助我将其转换为sql格式。 I need to import this into my sql server. 我需要将此导入到我的sql服务器。 I can either use Workbench or PHPMyAdmin. 我可以使用Workbench或PHPMyAdmin。

The excel file is 84MB. excel文件为84MB。

Thanks for your help. 谢谢你的帮助。

Try to save your data as CSV file (Excel allows to do it), then import data from the CSV file into specified table with LOAD DATA INFILE statement. 尝试将数据保存为CSV文件(Excel允许这样做),然后使用LOAD DATA INFILE语句将数据从CSV文件导入到指定的表中。

Also, have a look at this feature - Data Import tool (Excel format) in dbForge Studio for MySQL. 另外,请查看此功能-dbForge Studio for MySQL中的数据导入工具 (Excel格式)。

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

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