The document discusses modifying a DEPT table by 1) renaming it to DEPARTMENT, 2) adding a non-nullable PINCODE column, and 3) dropping any constraints or views that reference the dropped column when it is removed from the table.
The document discusses modifying a DEPT table by 1) renaming it to DEPARTMENT, 2) adding a non-nullable PINCODE column, and 3) dropping any constraints or views that reference the dropped column when it is removed from the table.
The document discusses modifying a DEPT table by 1) renaming it to DEPARTMENT, 2) adding a non-nullable PINCODE column, and 3) dropping any constraints or views that reference the dropped column when it is removed from the table.
The document discusses modifying a DEPT table by 1) renaming it to DEPARTMENT, 2) adding a non-nullable PINCODE column, and 3) dropping any constraints or views that reference the dropped column when it is removed from the table.
a. Rename the table dept as department b. Add a new column PINCODE with not null constraints to the existing table DEPT c. All constraints and views that reference the column are dropped automatically, along with the column.