| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: using multiple subtables efficiently
>> I'm pretty much a novice at database design. <<
It shows <g>. Tables have rows and not records -- the difference is critical. There is no such term as "subtable' in SQL. And you did not post any DDL, so people trying to help you have to make stupid wild ass guesses about what you are doing.
>> Table A holds general product information and the subtables hold
product-specific information. <<
CREATE TABLE Products
(upc DECIMAL (10,0) NOT NULL PRIMARY KEY,
...);
CREATE TABLE WetStuff
(upc DECIMAL (10,0) NOT NULL
PRIMARY KEY
REFERENCES Products(upc)
ON DELETE CASCADE
ON UPDATE CASCADE,
Etc. Received on Tue Sep 25 2001 - 20:09:27 CDT
![]() |
![]() |