SQL CHECK Constraint
SQL CHECK Constraint
Now we will try to insert record into NewStudent table with RollNumber 900 and will try to
find the error which CHECK constraint returns.
You can also use CHECK constraint on multiple columns during table creation in the
following manner.
If you want to drop a constraint from a table then you have to write query as given below.