Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: A question about relationship Date: Tue, 11 Feb 2014 21:54:38 +0100 Organization: Erland Sommarskog Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="fd3d6d0229f14a752f017d8f9903addd"; logging-data="999"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19b5w2jZl6Hm4RDs2uTZekc" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:wP/5PBGeoh8BiDelP+Q6Q1rINlY= Xref: csiph.com comp.databases.ms-sqlserver:1677 Tony Johansson (johansson.andersson@telia.com) writes: > Yes a customer without order sounds ok > But order without customer is incorrect. I would say that it depends on the business rules. :-) But, yes, it would be a bit peculiar. In Northwind CustomerID is nullable, although there is no such order in the data. Unfortunately, Northwind leaves a whole lot desired when it comes to nullability, indexes etc. -- Erland Sommarskog, Stockholm, esquel@sommarskog.se