Home > database > PowerDesigner modify the name of the table, updates to the database failure
PowerDesigner modify the name of the table, updates to the database failure
Time:10-07
1, the original table:
2, change table "clas" for "class" :
3, update the database:
4, it should not modify the name of the table, but directly to delete the old table, to build a new:
5, so wrong:
6, the generated SQL statement is also wrong, clas table and other tables have correlation, direct delete error certain:
Have used PowerDesigner great god, and advice on where I went wrong, just learn to use PowerDesigner, very not easy in this step, a day cannot solve the
Using database is MySQL5.7 PowerDesigner15.1
CodePudding user response:
Without PD advice directly to write SQL to the database
CodePudding user response:
Direct write SQL that I might as well use navicat
CodePudding user response:
In the database directly with the rename modified table name