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 |
How to drop an existing schema in ms sql server?
The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen? : sql server management studio
What are the types of database schema? : sql server analysis services, ssas
Wht is the difference between stored procedure and trigger
What is DCL?
Can select statements be used on views in ms sql server?
What are different types of raid configurations? : SQL Server Architecture
Find columns used in stored procedure?
If i am handling 150 servers then how to check the active jobs of all the servers?
What are the difference between primary keys and foreign keys?
What is dirty read?
What is indexed view? How to create it?