如何将excel文件作为表导入mysql?
如何将Excel文件作为MySQL的表导入?我想自动化它。当我的Excel文件中的单元格更改时,我希望我的表自动更改。即使Excel文件被一个名称相同的文件替换,我也希望我的表自动更换。
How can i import an excel file as a table to MySQL? I would like to automate it. When a cell in my excel file changes, i want my table to change automatically. Even if the excel file is replaced by one with the same name, i want my table to get replaced automatically.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以创建一个每分钟运行一次并检查 Excel 文件的 nodeJS 脚本。也许找到一种机制来检查文件是否已更改,或者只是每分钟用 excel 文件的内容覆盖 sql 表。
You could create a nodeJS-Script that runs every minute and checks the excel file. Maybe find a mechanism to check if the file has changed or just simply overwrite the sql-table with contents of excel-file every minute.