| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Simple question (probably)
Tery something like this
CREATE TABLE Shirts
(shirt_id INTEGER NOT NULL PRIMARY KEY,
quantity INTEGER NOT NULL,
... );
CREATE TABLE ShirtStyles
(shirt_id INTEGER NOT NULL
REFERENCES Shirts(shirt_id)
ON DELETE CASCADE
ON UPDATE CASCADE,
size INTEGER NOT NULL
CHECK (size IN (12,13,14, ... )),
color
--CELKO--
Joe Celko, SQL and Database Consultant
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sat Apr 15 2000 - 00:00:00 CDT
![]() |
![]() |