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 are sql queries used for?
What is a sql instance vs database?
What is the difference between view and stored procedure?
What is over () in sql?
How to get list of all tables from a database?
What are sql functions? Describe in brief different types of sql functions?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
What is cascade in sql?
What is a natural join sql?
What is the difference between join and natural join?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
What program will open a mdb file?
What is null in pl/sql?
What is a database trigger?
What are types of exception?