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 the difference between cross join and natural join?
How to assign sql query results to pl sql variables?
Can %notfound return null after a fetch?
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
Which data type is a composite type?
What is parallel hint?
what is the difference between inner and outer join? Explain with example. : Sql dba
Explain polymorphism in pl/sql.
Explain mutating table error.
What is user defined functions?
What are the rules to be applied to nulls whilst doing comparisons?
What is sql catalog?
Can we use two order by clause in query?
What is the source code of a program?
What are the different types of constraints?