Determining if MySQL table index exists before creating

前端 未结 7 1761
一向
一向 2021-02-04 14:35

Our system\'s automated database migration process involves running .sql scripts containing new table definitions and their accompanying indexes.

I require the ability t

7条回答
  •  别跟我提以往
    2021-02-04 15:19

    You can query infomration_schema database for this and many more useful information

    http://dev.mysql.com/doc/refman/5.0/en/information-schema.html

提交回复
热议问题