CREATE TABLE `treatlocations` ( `LocTreatSysNum` int(6) unsigned NOT NULL AUTO_INCREMENT, `TreatNum` int(6) unsigned zerofill DEFAULT NULL, `SculptID` char(3) DEFAULT NULL, `Band` int(2) unsigned DEFAULT NULL, `BandType` char(3) DEFAULT NULL, `Column` int(2) unsigned DEFAULT NULL, `ColumnType` char(3) DEFAULT NULL, `Orientation` char(1) DEFAULT NULL, `MainElement` char(10) DEFAULT NULL, `MainElementNumber` int(2) unsigned DEFAULT NULL, `SubElement` char(10) DEFAULT NULL, `SubElementLetter` char(2) DEFAULT NULL, `ThirdElement` char(10) DEFAULT NULL, `ThirdElementNumber` int(2) unsigned DEFAULT NULL, `XVal` int(4) unsigned DEFAULT NULL, `YVal` int(4) unsigned DEFAULT NULL, `ZVal` int(4) unsigned DEFAULT NULL, PRIMARY KEY (`LocTreatSysNum`), KEY `LocTreatNum` (`TreatNum`), KEY `TreatLocSculptID` (`SculptID`), CONSTRAINT `LocTreatNum` FOREIGN KEY (`TreatNum`) REFERENCES `treatments` (`TreatNum`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `TreatLocSculptID` FOREIGN KEY (`SculptID`) REFERENCES `sculptures` (`SculptID`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
| Subject | Written By | Posted |
|---|---|---|
| One subtable or multiple? | Colleen Boye | 04/13/2012 12:24PM |
| Re: One subtable or multiple? | Peter Brawley | 04/13/2012 02:22PM |
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.