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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the filtered index?

553


what are the different stages of Report Processing?

97


What are the different authentication modes in sql server?

566


What is difference between after and before?

498


What is #table in sql server?

529






What are relationships and mention different types of relationships in the dbms

551


how would you improve etl (extract, transform, load) throughput?

532


Is sql server 2016 free?

526


What is an etl file?

522


What is used to replicate sessions between instances in coldfusion clusters?

573


Define Wed Edition in SQL Azure?

80


what are the different types of replication you can set up in sql server? : Sql server database administration

507


Explain what are the restrictions that views have to follow? : SQL Server Architecture

585


Explain what is log shipping?

568


Explain what is scheduled job and how to create it?

542