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 |
What is user-defined scalar function?
What is always encrypted?
How to start and end transact-sql statements?
Explain what are various ways to enhance the ssrs report?
Why use cursor in sql server?
How to drop existing indexes in ms sql server?
In which format does an image save in SQL Server database ?
Explain about system database?
what protocol both networks use? : Sql server database administration
If i am handling 150 servers then how to check the active jobs of all the servers?
What is triggers in ms sql server?
What is bit data type? What's the information that can be stored inside a bit column?