DBMS - DML - Select
DBMS - DML - Select
Structured Query
Language
SQL Constraints
Recap
no rows selected
Table altered.
SQL> select constraint_name,constraint_type from user_constraints
where table_name='STUDENT';
CONSTRAINT_NAME C
------------------------------ -
PK1 P
Student Table Constraints
Table altered.
SQL> alter table student add constraint ck1 check( mark > 0 and
Mark <100);
Table altered.
Student Table Constraints
Table altered.
Table altered.
Student Table Constraints
select