Integrity constraints means..? how many and what are they?
Answers were Sorted based on User's Feedback
Answer / 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 |
Integrity constraints provide a way of ensuring that
changes made to the database by authorized users do not
result in a loss of data consistency.
An integrity constraint can be any arbitrary predicate
applied to the database.
They may be costly to evaluate, so we will only consider
integrity constraints that can be tested with minimal
overhead.
Types of integrity constraints
(1) Non-null
(2) Key
(3) Referential integrity
(4) Attribute-based
(5) Tuple-based
(6) General assertions
plzz let me know if it's wrong
| Is This Answer Correct ? | 18 Yes | 9 No |
Answer / sriram s
Domain integrity enforces valid entries for a given column
by restricting the type , the format or the range of
possible values
| Is This Answer Correct ? | 6 Yes | 0 No |
Domain Integrity Constraint
//not null constraint this is not come
check constraint
//rule constraint (in case of SQL SERVER 2000)
//rule is an alternate to check constraint
only check because it is used as whole domain while all are
in row or tuple !
| Is This Answer Correct ? | 4 Yes | 0 No |
What is a sequence? Explain it with one example?
what is cardinality
What is the importance of database partitioning?
1. How to test Database? Please, give me all details for "SQL,Msaccess, Mysql Database? 2.For which functionalities database used? 3.How to convert Guest to Admin by Mysql database?
What is database and its types?
if i want to display the name of students such that to which city they belong must have count greaer than two
Re: Where can i get informatica certification Exam dumps and details? please forward it to emailid:
What is the relationship that exists inside in E-R diagram?
Explain natural key?
How can we join three tables in SQL server 2000
How to do Data size testing? Who does this testing (Developer or tester)?
Two tables emp(empid,name,deptid,sal) and dept(deptid,deptname) are there.write a query which displays empname,corresponding deptname also display those employee names who donot belong to any dept.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)