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 |
Can you explain the role of each service?
What is default constraint?
Can we linked SharePoint to a SQL database?
0 Answers Sans Pareil IT Services,
What is sparse columns of sql server 2008?
Is foreign key unique?
What is scheduled job and how to create it?
how many layers of tcp/ip protocol combined of? : Sql server database administration
What is mean by clustered index and non clustered index, give syntax of creation? : sql server database administration
Explain magic tables in sql server?
What the difference between UNION and UNIONALL?
Can we use custom code in ssrs?
What is the main difference between ‘between’ and ‘in’ condition operators?