ALTER TABLE MODIFY Column
Oracle Database Basic Course
Created by :
Database, Oracle
course
Programming, Software and application
1756
2020-12-07 03:13:23
To change the definition of a column in a table, you use the ALTER TABLE MODIFY column syntax as follows:
ALTER TABLE table_name MODIFY column_name action;
The statement is straightforward. To modify a column of a table, you need to specify the column name, table name, and action that you want to perform.
Oracle allows you to perform many actions but the following are the main ones:
- Modify the column’s visibility
- Allow or not allow null values
- Shorten or widen the size of the column
- Change the default value of a column
- Modify expression of the virtual columns
To modify multiple columns, you use the following syntax:
ALTER TABLE table_name MODIFY ( column_name_1 action, column_name_2 action, ... );

- Database Overview
- What Is Oracle Database
- History of Oracle Database
- Why Oracle Database
- Features of Oracle Database
- Oracle Vs. SQL Server: Key Differences
- Oracle Vs. MySQL Server: Key Differences
- Oracle Vs. NoSQL
- Install Oracle Database Server
- Oracle Database Sample Schema
- Execute Sample Database
- Connect to SQL Developer and Other SQL Editor