| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Database Design Question - any suggestion?
"--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 - 11:15:43 CST
![]() |
![]() |