Command to drop all columns in a database that have prefix test_ to run

后端 未结 4 499
一整个雨季
一整个雨季 2020-12-16 08:08

How I can run a command in phpMyAdmin which will drop all columns in a database that have the prefix test_.

4条回答
  •  半阙折子戏
    2020-12-16 08:46

    If you have MySQl Workbench then you can delete multiple columns by simply do a mass selection and telling workbench to do a mass deletion of the selected columns

提交回复
热议问题