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

What is user-defined scalar function?

0 Answers  


What is always encrypted?

0 Answers  


How to start and end transact-sql statements?

0 Answers  


Explain what are various ways to enhance the ssrs report?

0 Answers  


Why use cursor in sql server?

0 Answers  






How to drop existing indexes in ms sql server?

0 Answers  


In which format does an image save in SQL Server database ?

0 Answers   MCN Solutions,


Explain about system database?

0 Answers  


what protocol both networks use? : Sql server database administration

0 Answers  


If i am handling 150 servers then how to check the active jobs of all the servers?

0 Answers  


What is triggers in ms sql server?

0 Answers  


What is bit data type? What's the information that can be stored inside a bit column?

0 Answers  


Categories