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



Why foreign key column allowing null values even a parent tables reference key column not having n..

Answer / rajkumar

Foreign key consider only the values. According to null value is not a value.

Is This Answer Correct ?    1 Yes 0 No

Why foreign key column allowing null values even a parent tables reference key column not having n..

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

Post New Answer

More SQL Server Interview Questions

Can you explain the role of each service?

1 Answers  


What is default constraint?

0 Answers  


Can we linked SharePoint to a SQL database?

0 Answers   Sans Pareil IT Services,


What is sparse columns of sql server 2008?

0 Answers  


Is foreign key unique?

0 Answers  






What is scheduled job and how to create it?

0 Answers  


how many layers of tcp/ip protocol combined of? : Sql server database administration

0 Answers  


What is mean by clustered index and non clustered index, give syntax of creation? : sql server database administration

0 Answers  


Explain magic tables in sql server?

0 Answers  


What the difference between UNION and UNIONALL?

0 Answers   HCL,


Can we use custom code in ssrs?

0 Answers  


What is the main difference between ‘between’ and ‘in’ condition operators?

0 Answers  


Categories