Altering a Table
GaussDB(for MySQL) database tables are classified into global tables, unsharded tables, and sharded tables. Only global tables and unsharded tables can be modified.
To modify sharded tables, execute SQL statements in the SQL window.
Procedure
- On the top menu bar, choose Database Management.
- On the displayed Objects page, select Tables, locate the target table, and click Alter in the Operation column.
- On the displayed page, modify the basic table information and click Next.
- Make modifications on the Column page. After the operation is complete, modify the index information as required or click Alter.
- In the SQL Preview dialog box, click Execute.
Last Article: Viewing Table Details
Next Article: Clearing a Table
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.