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 |
How do I install only the client tools of sql server 2000?
Can you explain some of the DTS problems?
What happens if strings are casted into wrong code pages in ms sql server?
What are rows and columns?
How can a user-defined datatype be created?
What is indexing explain it with an example?
Is sql server difficult to learn?
How to concatenate two binary strings together?
What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?
What is Schema? and why we use schemas?
What are the magic tables in SQL Server 2000?
7 Answers Infogain, Merrill Lynch,
Explain what you mean by 3 tier architecture.
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)