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 |
How to create a testing table with test data in ms sql server?
What are the different subsets of sql?
in how many ways we can use count()
What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?
Where are SQL server users names and passwords are stored in sql server?
What are date and time data types in ms sql server?
What are the different sql server versions?
What is transaction server distributed transaction?
What is ms sql server index?
How is sql server used?
Do you know what are the restrictions applicable while creating views? : SQL Server Architecture
How to disconnect from a sql server using mssql_close()?
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)