What is a constraint. Types of constraints ?
Answer Posted / pavani
Constraint means it is rule which you want to apply on the
table. There are two types of constraints.
1. Column Constraints: Applicable for that column only.
2. Table Constraints: Applicable for more than one column.
Column Constraints:
a. unique b. not null c. primary key d. foreign key
e.default f. check
Table constraints:
a. unique b. primary key c. foreign key d. check
Is This Answer Correct ? | 26 Yes | 5 No |
Post New Answer View All Answers
What is rank dense_rank and partition in sql?
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
How can you know that statistics should be updated?
Why do we need cursors in pl sql?
How do I restart sql?
What is an inconsistent dependency?
How do I copy a table in sql?
Is sql easier than java?
How can you save or place your msg in a table?
what is a record in a database ? : Sql dba
What is update query?
What are views in sql?
what are all the common sql function? : Sql dba
How do I run pl sql in sql developer?
List different type of expressions with the example.