What is referential integrity and how is it achieved?
Answer / koteshwar rao .palleboina
when foreign key constraint is created on a column
referential integrity is achieved .
when foreign key constraint is created on a column,that
column reference other column in the different table or
even in the same table but the reference column must be
primary key or unique key.
when a new value is added in a column referenced with
foreign key ,then the foreign key relation checks whether
the new value matches with the reference column or not.
If value matches then they are allowed into the table
| Is This Answer Correct ? | 15 Yes | 1 No |
what's the difference between a primary key and a unique key? : Sql server database administration
Is foreign key unique?
when would you go for denormalization? : Sql server database administration
List out some of the requirements to set up a sql server failover cluster?
What is an extended stored procedure? Can you instantiate a COM object by using T-SQL?
what r steps to we need to fallow b4 kill the process?
What is the difference between grant and with grant while giving permissions to the user?
What is Trigger?
Explain about SQLOS?
how can a database be repaired? : Sql server administration
What is difference between line feed ( ) and carriage return ( )?
What is the purpose of sql profiler in sql server?
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)