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 |
List out a number of the wants to setup a SQL Server failover cluster?
syntax for deleting the database in T SQL
write a query to remove duplicate records without using primary key column?
Can you please explain the difference between function and stored procedure?
What is the difference between value type and reference type?
What is the maximum rows in sql server table?
what are different types of raid configurations? : Sql server database administration
how would you troubleshoot blocking? : Sql server database administration
How will u get 5 years back record?
What is the best way to move n number of DTS package from one SQLServer to another SQLServer?
How can you tell if a database object is invalid?
What is update locks?
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)