!  ;
! XML-RDBMS Version 030903.01.Distro ;
!  ;
!  Copyright 2003, CEC Services, LLC  All Rights Reserved ;
!  ;
! Colin James III, Principal Scientist, 1613 Morning Dr, Loveland CO  80538-4410  USA ;
! Email: xml-rdbms@cec-services.com   Mobile: 719.210.9534   Office/Fax: 970.593.1350 ;
!  ;

   ! Table schema ;

   ! Table schema ;

! 1 Program_Project ;
! 1 1 Program_ProjectIdentifier ;
! 1 1 1 VARCHAR(  32) ;
! 1 2 Agreement_ContractIdentificati ;
! 1 2 1 VARCHAR(  32) ;
! 1 3 ProductIdentification ;
! 1 3 1 VARCHAR(  32) ;
! 1 4 ChangeControlAuthority ;
! 1 4 1 VARCHAR(  32) ;
! 2 Agreement_ContractIdentification ;
! 2 1 DocumentIdentificationGroup ;
! 2 1 1 VARCHAR(  32) ;
! 3 TradingPartnership ;
! 3 1 TradingPartnerIdentifier ;
! 3 1 1 VARCHAR(  32) NOT NULL ;
! 3 2 Program_Project ;
! 3 2 1 VARCHAR(  32) ;
! 4 Orphans ;

   ! Table and index scripts including orphans ;

! 1 ;
CREATE TABLE Program_Project ( Program_ProjectIdentifier VARCHAR(  32), Agreement_ContractIdentificati VARCHAR(  32), ProductIdentification VARCHAR(  32), ChangeControlAuthority VARCHAR(  32)) ;
! 2 ;
CREATE TABLE Agreement_ContractIdentification ( DocumentIdentificationGroup VARCHAR(  32)) ;
! 3 ;
CREATE TABLE TradingPartnership ( TradingPartnerIdentifier VARCHAR(  32) NOT NULL, Program_Project VARCHAR(  32)) ;
 ALTER TABLE TradingPartnership ADD PRIMARY KEY ( TradingPartnerIdentifier) ;

   ! View scripts ;

! None ;

   ! Insert scripts ;

! None ;
