What is the difference between column level constraints and
table level constraints?
Answer Posted / riddhi
Difference between column level constraints and table level constraints
1)Column level constraint is declared at the time of creating a table but table level constraint is created after table is created.
2)Column Level Constraints refers Only One Column whereas table level constraints refers to one or more than one column
3)not null constraint can't be created as table level constraints because it don't have name.
Column level constraint-
Ex : Create table emp
( empno number primary Key);
Table level constraint
Ex: Create table emp
( empno number);
Constraints pk_con primary Key(empno));
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the oracle implicit cursor?
Calculate difference between 2 date / times in oracle sql?
what is meant by magic query
How to list all user accounts in oracle?
Explain alias?
How to turn on or off recycle bin for the session?
What is a trigger and what are its types?
Explain oracle’s system global area (sga).
What are temporal data types in oracle?
can u plz provide me oca sql dumps please i need them
When system tablespace is created?
How to delete a column in an existing table in oracle?
List the various oracle database objects?
What is a trace file and how is it created in oracle?
what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?