| Start |
|---|
Add Column(s) The above statement would add columns named |
Drop Column This will not only delete information from that column, but will drop the column salary from table employees(the column will no more exist). |
Add Primary Key This will add a Primary key to the table Employees on the field |
Drop Constraint This Drops a constraint called DefaultSalary from the employees table definition. Note:- Ensure that constraints of the column are dropped before dropping a column. |
Alter Column This query will alter the column datatype of |
Add Constraint This adds a constraint called DefaultSalary which specifies a default of 100 for the Salary column. A constraint can be added at the table level. Types of constraints
To learn more about constraints, see the Oracle documentation (opens new window). Syntax
|
Read Article
https://develop.horje.com/learn/1434/reference