Re: Database Design Question - any suggestion?
From: Ja Lar <ingen_at_mail.her>
Date: Mon, 6 Dec 2004 18:15:43 +0100
Message-ID: <41b493c5$0$259$edfadb0f_at_dread11.news.tele.dk>
Date: Mon, 6 Dec 2004 18:15:43 +0100
Message-ID: <41b493c5$0$259$edfadb0f_at_dread11.news.tele.dk>
"--CELKO--" <jcelko212_at_earthlink.net> ...
> Design a vector code. ...
<snip>
> CREATE TABLE Inventory
> (sku CHAR(9) NOT NULL PRIMARY KEY
> CHECK (sku SIMILAR TO '[0-9][0-9][0-9]-(grn|blu|wht)-(s|m|l)'),
> ..);
I think it is a bad advice to encode business-meaning in the PK. Received on Mon Dec 06 2004 - 18:15:43 CET