Answer: We can refer below script.
We have to use Constraint keyword in case of Sql Server,Oracle and MS-Access.
Alter Table Employee_Master
Add Constraint ck_employee Check([PAN_Number] Is Not Null)
Here,
ck_employee will be used as a constraints name.
Asked In: Many Interviews |
Alert Moderator