- Create Table
- Alter Table
2. Alter Table
Here there are many way to manage created table.
Using this statement you can change the table's column, name of column as well as table,
change the constraint, datatype, etc.
The table must be in your own schema, or you must have
ALTER
object privilege on the table, or you must have ALTER
ANY
TABLE
system privilege.Syntax :
ALTER TABLE | table_nm [ | ADD | (column1 datatype constraint,..,columnn datatype constraint) | | |
MODIFY | (column1 datatype constraint,..,columnn datatype ) | | | ||
DROP | COLUMN column_name | | | ||
RENAME | COLUMN column_name TO new_name | ] ; |