On Mon, 27 Aug 2001, Neal Lindsay wrote: > If I create a columnA in a tableA that "REFERENCES tableB(columnB)" in > another table, where column B is not null, does that imply a "NOT NULL" on > my columnA? In other words, does it ensure that the value of A is in the > set of values for B, or that the value of A is in the Bs unless A is null? The latter. The constraint is satisfied by either a NULL or a value in B. (Note: For multiple column keys it gets more involved depending on the match type). ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- Re: [GENERAL] Vince Vielhaber
- Re: [GENERAL] Morten W. Petersen
- Re: [GENERAL] Morten W. Petersen
- Re: [GENERAL] Tom Lane
- [GENERAL] Foreign Keys <No Name>
- Re: [GENERAL] Foreign Keys Adam Haberlach
- [GENERAL] Re: Foreign Keys Mitch Vincent
- Re: [GENERAL] Foreign keys Stephan Szabo
- Re: [GENERAL] Foreign Keys Bruce Momjian
- [GENERAL] Foreign keys Neal Lindsay
- [GENERAL] Foreign keys Stephan Szabo
- [GENERAL] Foreign keys Matt Browne
- Re: [GENERAL] Foreign keys Bruno Wolff III
- Re: [GENERAL] Foreign keys Jan Wieck
- Re: [GENERAL] Foreign keys Rich Shepard
- Re: [GENERAL] Foreign keys Richard Huxton
- Re: [GENERAL] Foreign keys weigelt
- FW: [GENERAL] Foreign keys Benjamin Jury
- Re: [GENERAL] Foreign keys Matt Browne