Why foreign key column allowing null values even a parent
tables reference key column not having null value..
Answers were Sorted based on User's Feedback
Answer / rajkumar
Foreign key consider only the values. According to null value is not a value.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sureshramsing@gmail.com
Yes foreign key column allows null values, if it is not having either primary key or not null constraints.
Foreign key just reference to the particular parent column only not for restrcting the data while insert or update. It verifies dependency at the time of delete only.
| Is This Answer Correct ? | 1 Yes | 1 No |
What the class forname () does?
What purpose does the model database server?
What is it unwise to create wide clustered index keys?
What are the different types of lock modes in sql server 2000?
How do I start sql server?
How to set a database state to offline in ms sql server?
What is @@error in sql?
What are sub-queries? Give example? In which case sub-queries are not feasible?
Why olap is used?
How many .ndf files can we create in Sql server 2005?
Explain what are sparse columns?
What are the steps to take to improve performance of a poor performing query? : sql server database administration
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)