What is Referential Integrity?
Answers were Sorted based on User's Feedback
Answer / suriyaraj
Referential integrity is a database concept that ensures
that relationships between tables remain consistent. When
one table has a foreign key to another table, the concept
of referential integrity states that you may not add a
record to the table that contains the foreign key unless
there is a corresponding record in the linked table. It
also includes the techniques known as cascading update and
cascading delete, which ensure that changes made to the
linked table are reflected in the primary table.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / rajeshwaran
It is a rule defined on a column or a set of columns that
allows to insert or update a value in a table that matches
with the values in the corresponding columns of the related
tabels.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / dhirendra
Referential Integrity means: Whenever parent values are
available, the user can not transact it to Transaction table.
| Is This Answer Correct ? | 0 Yes | 1 No |
While inserting/updating million of records into a database table, how do I came to know how many records has been inserted or updated successfully so far?
Is not null in sql?
i have one table with accounts and amounts as colums.accounts with columns c and d. and amounts with values 1000,2000,3000 for c and 4000,5000,8000 for d.i need to find the sum of these accounts c and d individually and find the differences between their sum using one select statement.
Give the structure of the function ?
table name: prod there are three fields in the table that are 1.proddate 2.prodQty 3.model Day wise prodQty is stored in the table prod write a query to display total prodqty in the year 2004 april.
what is the bond code in materialized view?
what happens if you no create privilege in a database? : Sql dba
Is foreign key mandatory?
What is a recursive stored procedure?
explain normalization concept? : Sql dba
What is sqlcommand?
which tcp/ip port does sql server run on? : Sql dba
Oracle (3253)
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)