Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by postgresql.org (8.11.3/8.11.4) with SMTP id fBLDMlm13260 for ; Fri, 21 Dec 2001 08:22:48 -0500 (EST) (envelope-from janwieck@yahoo.com) Received: from psc.progress.com (HELO saturn.jw.home) (192.233.92.200) by smtp.mail.vip.sc5.yahoo.com with SMTP; 21 Dec 2001 13:22:50 -0000 Received: (from wieck@localhost) by saturn.jw.home (8.11.2/8.11.2) id fBLCTvD01601; Fri, 21 Dec 2001 07:29:57 -0500 From: Jan Wieck Message-Id: <200112211229.fBLCTvD01601@saturn.jw.home> Subject: Re: NULL values or not? In-Reply-To: from Archibald Zimonyi at "Dec 21, 2001 10:53:38 am" To: Archibald Zimonyi Date: Fri, 21 Dec 2001 07:29:56 -0500 (EST) CC: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200112/230 X-Sequence-Number: 6052 Archibald Zimonyi wrote: > > Hi there, > > I have a question about NULL values. Lets say that we have a world with > the following info: > > FirstName > LastName > PhoneNumber > > > Everyone has to have a FirstName and LastName but not everyone has to have > a PhoneNumber. I don't know of any particular, but I can imagine cultures where people don't have first or last names. For sure alot of people on this earth don't have a mailing address that'd fit into the "usual" schema. Don't make the schema too scattered just to avoid NULLs. Wether you like them or not doesn't matter, use them where they are handy. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com # _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com