Please clarify two things for me:
- Can a Foreign key be NULL?
- Can a Foreign key be duplicate?
As fair as I know, NULL
shouldn’t be used in foreign keys, but in some application of mine I’m able to input NULL
in both Oracle and SQL Server, and I don’t know why.