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 |
declare lowerl number:= 1; upperl number:= 3; num varchar2(10); begin for i into lowerl..upperl loop num:=num||to_char(lowerl); if i=3 then upperl:=5; end loop; message(num); What will be the output ?
what is the difference between to_char and to_date functions?
What is the difference between alter trigger and drop trigger statements?
What are the different types of dbmss?
how can we write a column values horizontal by using sql stmt; ex: select name from table_name;(actual output) a b c d require output is a b c d
5 Answers Honeywell, Interact,
can we delete the trigger in a view? if yes why if not why?
I have following column in the table. col1 1 a b c 2 3 d and I want to display it as num chars 1 a 2 b 3 c 4 d numbers in one column and letters in another column.
What are the key differences between SQL and PL SQL?
Is pl sql useful?
How do I run a query in pl sql developer?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
What are the different types of functions in sql?
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)