1, CREATE TABLE newtable as SELECT distinct * FROM T_SYSTEM_MENU_PRIV;
2, drop table T_SYSTEM_MENU_PRIV;
3, ALTER TABLE newtable rename to T_SYSTEM_MENU_PRIV;
时间: 2024-11-08 10:21:40
1, CREATE TABLE newtable as SELECT distinct * FROM T_SYSTEM_MENU_PRIV;
2, drop table T_SYSTEM_MENU_PRIV;
3, ALTER TABLE newtable rename to T_SYSTEM_MENU_PRIV;