Generate sql insert script from excel worksheet

后端 未结 13 1042
情深已故
情深已故 2020-11-28 18:05

I have a large excel worksheet that I want to add to my database.

Can I generate an SQL insert script from this excel worksheet?

13条回答
  •  一向
    一向 (楼主)
    2020-11-28 18:30

    Depending on the database, you can export to CSV and then use an import method.

    MySQL - http://dev.mysql.com/doc/refman/5.1/en/load-data.html

    PostgreSQL - http://www.postgresql.org/docs/8.2/static/sql-copy.html

提交回复
热议问题