Integrity constraints means..? how many and what are they?

Answer Posted / firoz basha

Integrity constraint:- An IC is one which does not allow
invalid data entry into the database.
there are 3 types of Integrity constraints:
1. Entity Integrity COnstraint
primary key
unique key
Primary key does not allow null values and duplicate
values
unique key does not allow duplicate values.
unique key allows any number of null values (in case
of oracle)
unikey key allows only one null value. i.e, single null
value ( in the case of sql server 2000)
2. Domain Integrity Constraint
not null constraint
check constraint
rule constraint (in case of SQL SERVER 2000)
rule is an alternate to check constraint
3. Referential Integrity constraint
foreign key constraint

Is This Answer Correct ?    34 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Lock Based Protocol used for?

819


How to fetch/retrieve the data from hieranchical database and put it into the relational database? for e.g I want to extract the data from IMS DB2 database which is a hierarchical db and load that data into the relational database which is a SQL server.Are there any tools available for directing extracting data from hierarchical db and loading into the relational database (SQL server)?

1657


List some advantages of dbms.

864


What is ole db ado?

722


Differentiate between extension & intension?

1114


Explain about ur projets on teradata???

1520


How many types of normalization? What is the use of it?

811


What is the purpose of TNS?

790


issues involved in modeling and building data werahouses

1724


how node connect with cpu?

1865


Explain data independence & its types.

766


What is the importance of database partitioning?

773


How to shrink a database?

715


What is replicaset?

746


Can you create a database in word?

750