ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY
  DROP CONSTRAINT FKSTD_SPECIALOPRTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY ADD (
  CONSTRAINT FKSTD_SPECIALOPRTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SPECIALOPERATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY
  DROP CONSTRAINT FKSTD_NAMEDCNTNGNCYHSTRYOWNR;


ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY ADD (
  CONSTRAINT FKSTD_NAMEDCNTNGNCYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NAMEDCONTINGENCY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY
  DROP CONSTRAINT FKSTD_MLTRYSVCQRYSTTHSTRYOWNR;


ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY ADD (
  CONSTRAINT FKSTD_MLTRYSVCQRYSTTHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MILITARYSVCQRYSTAT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY
  DROP CONSTRAINT FKSTD_MHDATASOURCEHISTORYOWNER;


ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY ADD (
  CONSTRAINT FKSTD_MHDATASOURCEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MHDATASOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  VERSIONNUMBER NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  VERSIONNUMBER NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  INSTALLATIONDATE NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  INSTALLATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DATABASEVERSION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  ZIPCODE NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  ZIPCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  MSACODEFROM1990 NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  MSACODEFROM1990 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSA MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY
  DROP CONSTRAINT FKSTD_ZIPTOMSAHISTORYOWNER;


ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY ADD (
  CONSTRAINT FKSTD_ZIPTOMSAHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ZIPTOMSA (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ZIPPLACEKEY NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ZIPPLACEKEY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ISAPPROVEDMAILINGNAME NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  ISAPPROVEDMAILINGNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPPLACE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACE
  DROP CONSTRAINT FKSTD_ZIPPLACEZIPPLACEFACILITY;


ALTER TABLE SDSADM.STD_ZIPPLACE ADD (
  CONSTRAINT FKSTD_ZIPPLACEZIPPLACEFACILITY 
  FOREIGN KEY (ZIPPLACEFACILITY_ID) 
  REFERENCES SDSADM.STD_ZIPPLACEFACILITY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY
  DROP CONSTRAINT FKSTD_ZIPPLACEHISTORYOWNER;


ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY ADD (
  CONSTRAINT FKSTD_ZIPPLACEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ZIPPLACE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY
  DROP CONSTRAINT FKSTD_ZIPPLACEFCLTYHSTRYOWNR;


ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY ADD (
  CONSTRAINT FKSTD_ZIPPLACEFCLTYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ZIPPLACEFACILITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  ZIPCODE NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  ZIPCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  STATE_ID NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  STATE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODE
  DROP CONSTRAINT FKSTD_ZIPCODEZIPCLASSIFICATION;


ALTER TABLE SDSADM.STD_ZIPCODE ADD (
  CONSTRAINT FKSTD_ZIPCODEZIPCLASSIFICATION 
  FOREIGN KEY (ZIPCLASSIFICATION_ID) 
  REFERENCES SDSADM.STD_ZIPCLASSIFICATION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODE
  DROP CONSTRAINT FKSTD_ZIPCODEPREFERREDZIPPLACE;


ALTER TABLE SDSADM.STD_ZIPCODE ADD (
  CONSTRAINT FKSTD_ZIPCODEPREFERREDZIPPLACE 
  FOREIGN KEY (PREFERREDZIPPLACE_ID) 
  REFERENCES SDSADM.STD_ZIPPLACE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODE
  DROP CONSTRAINT FKSTD_ZIPCODESTATE;


ALTER TABLE SDSADM.STD_ZIPCODE ADD (
  CONSTRAINT FKSTD_ZIPCODESTATE 
  FOREIGN KEY (STATE_ID) 
  REFERENCES SDSADM.STD_STATE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY
  DROP CONSTRAINT FKSTD_ZIPCODEHISTORYOWNER;


ALTER TABLE SDSADM.STD_ZIPCODEHISTORY ADD (
  CONSTRAINT FKSTD_ZIPCODEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ZIPCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY
  DROP CONSTRAINT FKSTD_ZIPCLSSFCTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY ADD (
  CONSTRAINT FKSTD_ZIPCLSSFCTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ZIPCLASSIFICATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  ZIPCODE_ID NULL;

ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  ZIPCODE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  ZIPPLACE_ID NULL;

ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  ZIPPLACE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ZIPASSIGNMENT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT
  DROP CONSTRAINT FKSTD_ZIPASSIGNMENTZIPCODE;


ALTER TABLE SDSADM.STD_ZIPASSIGNMENT ADD (
  CONSTRAINT FKSTD_ZIPASSIGNMENTZIPCODE 
  FOREIGN KEY (ZIPCODE_ID) 
  REFERENCES SDSADM.STD_ZIPCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT
  DROP CONSTRAINT FKSTD_ZIPASSIGNMENTZIPPLACE;


ALTER TABLE SDSADM.STD_ZIPASSIGNMENT ADD (
  CONSTRAINT FKSTD_ZIPASSIGNMENTZIPPLACE 
  FOREIGN KEY (ZIPPLACE_ID) 
  REFERENCES SDSADM.STD_ZIPPLACE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  ALPHACODE NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  ALPHACODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_YESNOCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY
  DROP CONSTRAINT FKSTD_YESNOCODEHISTORYOWNER;


ALTER TABLE SDSADM.STD_YESNOCODEHISTORY ADD (
  CONSTRAINT FKSTD_YESNOCODEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_YESNOCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY
  DROP CONSTRAINT FKSTD_VBAQUERYSTTSTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_VBAQUERYSTTSTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_VBAQUERYSTATUSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY
  DROP CONSTRAINT FKSTD_USERGROUPTYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY ADD (
  CONSTRAINT FKSTD_USERGROUPTYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_USERGROUPTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY
  DROP CONSTRAINT FKSTD_TRANSACTIONTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY ADD (
  CONSTRAINT FKSTD_TRANSACTIONTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_TRANSACTIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  TABLENAME NULL;

ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  TABLENAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  RELEASENUMBER NULL;

ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  RELEASENUMBER NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  LASTUPDATED NULL;

ALTER TABLE SDSADM.STD_TABLEMANAGER MODIFY 
  LASTUPDATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  TITLE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  TITLE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  STATISTICALAREATYPE_ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  STATISTICALAREATYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREA MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREA
  DROP CONSTRAINT FKSTD_STTSTCLARSTTSTCLARTYP;


ALTER TABLE SDSADM.STD_STATISTICALAREA ADD (
  CONSTRAINT FKSTD_STTSTCLARSTTSTCLARTYP 
  FOREIGN KEY (STATISTICALAREATYPE_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREATYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREA
  DROP CONSTRAINT FKSTD_STATISTICALAREAPARENT;


ALTER TABLE SDSADM.STD_STATISTICALAREA ADD (
  CONSTRAINT FKSTD_STATISTICALAREAPARENT 
  FOREIGN KEY (PARENT_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREA (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE
  DROP CONSTRAINT FKSTD_STATISTICALARTYPPRNTTYP;


ALTER TABLE SDSADM.STD_STATISTICALAREATYPE ADD (
  CONSTRAINT FKSTD_STATISTICALARTYPPRNTTYP 
  FOREIGN KEY (PARENTTYPE_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREATYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY
  DROP CONSTRAINT FKSTD_STTSTCLARTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY ADD (
  CONSTRAINT FKSTD_STTSTCLARTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREATYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY
  DROP CONSTRAINT FKSTD_STATISTICALAREAHSTRYOWNR;


ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY ADD (
  CONSTRAINT FKSTD_STATISTICALAREAHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREA (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  COUNTY_ID NULL;

ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  COUNTY_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  STATISTICALAREA_ID NULL;

ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  STATISTICALAREA_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATCNTYXREF MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATCNTYXREF
  DROP CONSTRAINT FKSTD_STATCNTYXREFCOUNTY;


ALTER TABLE SDSADM.STD_STATCNTYXREF ADD (
  CONSTRAINT FKSTD_STATCNTYXREFCOUNTY 
  FOREIGN KEY (COUNTY_ID) 
  REFERENCES SDSADM.STD_COUNTY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATCNTYXREF
  DROP CONSTRAINT FKSTD_STATCNTYXREFSTTSTCLAR;


ALTER TABLE SDSADM.STD_STATCNTYXREF ADD (
  CONSTRAINT FKSTD_STATCNTYXREFSTTSTCLAR 
  FOREIGN KEY (STATISTICALAREA_ID) 
  REFERENCES SDSADM.STD_STATISTICALAREA (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  POSTALNAME NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  POSTALNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  COUNTRY_ID NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  COUNTRY_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATE
  DROP CONSTRAINT FKSTD_STATECOUNTRY;


ALTER TABLE SDSADM.STD_STATE ADD (
  CONSTRAINT FKSTD_STATECOUNTRY 
  FOREIGN KEY (COUNTRY_ID) 
  REFERENCES SDSADM.STD_COUNTRY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_STATEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_STATEHISTORY
  DROP CONSTRAINT FKSTD_STATEHISTORYOWNER;


ALTER TABLE SDSADM.STD_STATEHISTORY ADD (
  CONSTRAINT FKSTD_STATEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_STATE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY
  DROP CONSTRAINT FKSTD_SPINALINJURYCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY ADD (
  CONSTRAINT FKSTD_SPINALINJURYCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SPINALINJURYCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY
  DROP CONSTRAINT FKSTD_SPECIALTYSRVCHSTRYOWNR;


ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY ADD (
  CONSTRAINT FKSTD_SPECIALTYSRVCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SPECIALTYSERVICE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY
  DROP CONSTRAINT FKSTD_SPECIALFACTORMPHSTRYOWNR;


ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY ADD (
  CONSTRAINT FKSTD_SPECIALFACTORMPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SPECIALFACTORMAP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY
  DROP CONSTRAINT FKSTD_SITEUPLOADSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_SITEUPLOADSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SITEUPLOADSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY
  DROP CONSTRAINT FKSTD_SIGNATUREINDTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY ADD (
  CONSTRAINT FKSTD_SIGNATUREINDTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SIGNATUREINDTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SERVICE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SERVICEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEHISTORY
  DROP CONSTRAINT FKSTD_SERVICEHISTORYOWNER;


ALTER TABLE SDSADM.STD_SERVICEHISTORY ADD (
  CONSTRAINT FKSTD_SERVICEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SERVICE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY
  DROP CONSTRAINT FKSTD_SVCDSCHRGCDHISTORYOWNER;


ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY ADD (
  CONSTRAINT FKSTD_SVCDSCHRGCDHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SERVICEDISCHARGECODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCH MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY
  DROP CONSTRAINT FKSTD_SERVICEBRANCHHISTORYOWNR;


ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY ADD (
  CONSTRAINT FKSTD_SERVICEBRANCHHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SERVICEBRANCH (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY
  DROP CONSTRAINT FKSTD_SNSTVTYCHNGSRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY ADD (
  CONSTRAINT FKSTD_SNSTVTYCHNGSRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SENSITIVITYCHANGESOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY
  DROP CONSTRAINT FKSTD_SSNVERIFSTATUSHSTRYOWNR;


ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_SSNVERIFSTATUSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SSNVERIFICATIONSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY
  DROP CONSTRAINT FKSTD_SSNTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_SSNTYPEHISTORY ADD (
  CONSTRAINT FKSTD_SSNTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SSNTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY
  DROP CONSTRAINT FKSTD_SSNCHANGESOURCEHSTRYOWNR;


ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY ADD (
  CONSTRAINT FKSTD_SSNCHANGESOURCEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SSNCHANGESOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY
  DROP CONSTRAINT FKSTD_SSAVERIFCODEHISTORYOWNER;


ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY ADD (
  CONSTRAINT FKSTD_SSAVERIFCODEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SSAVERIFCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY
  DROP CONSTRAINT FKSTD_SSAMESSAGETYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY ADD (
  CONSTRAINT FKSTD_SSAMESSAGETYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SSAMESSAGETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY
  DROP CONSTRAINT FKSTD_SHADDOCUMENTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_SHADDOCUMENTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SHADDOCUMENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELIGION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELIGIONHISTORY
  DROP CONSTRAINT FKSTD_RELIGIONHISTORYOWNER;


ALTER TABLE SDSADM.STD_RELIGIONHISTORY ADD (
  CONSTRAINT FKSTD_RELIGIONHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RELIGION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY
  DROP CONSTRAINT FKSTD_RELTOVETINSRNCHSTRYOWNR;


ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY ADD (
  CONSTRAINT FKSTD_RELTOVETINSRNCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RELTOVETINSURANCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY
  DROP CONSTRAINT FKSTD_RELATIONSHIPHISTORYOWNER;


ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY ADD (
  CONSTRAINT FKSTD_RELATIONSHIPHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RELATIONSHIP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY
  DROP CONSTRAINT FKSTD_RELATNLOPERATORHSTRYOWNR;


ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY ADD (
  CONSTRAINT FKSTD_RELATNLOPERATORHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RELATIONALOPERATOR (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY
  DROP CONSTRAINT FKSTD_RELATNLCNJNCTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY ADD (
  CONSTRAINT FKSTD_RELATNLCNJNCTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RELATIONALCONJUNCTION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY
  DROP CONSTRAINT FKSTD_REJECTEDREMARKSHSTRYOWNR;


ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY ADD (
  CONSTRAINT FKSTD_REJECTEDREMARKSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_REJECTEDREMARKS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY
  DROP CONSTRAINT FKSTD_REGISTRYTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY ADD (
  CONSTRAINT FKSTD_REGISTRYTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_REGISTRYTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY
  DROP CONSTRAINT FKSTD_RDTNEXPSRMTHDHSTRYOWNR;


ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY ADD (
  CONSTRAINT FKSTD_RDTNEXPSRMTHDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RADIATIONEXPOSUREMETHOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RACE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACE MODIFY 
  HL7CODE NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  HL7CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RACE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_RACEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_RACEHISTORY
  DROP CONSTRAINT FKSTD_RACEHISTORYOWNER;


ALTER TABLE SDSADM.STD_RACEHISTORY ADD (
  CONSTRAINT FKSTD_RACEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_RACE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY
  DROP CONSTRAINT FKSTD_PHDATASRCTYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY ADD (
  CONSTRAINT FKSTD_PHDATASRCTYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PHDATASRCTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  DATATYPE NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  DATATYPE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  TOPIC NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  TOPIC NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY
  DROP CONSTRAINT FKSTD_PUBLICATIONTPCHSTRYOWNR;


ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY ADD (
  CONSTRAINT FKSTD_PUBLICATIONTPCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PUBLICATIONTOPIC (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY
  DROP CONSTRAINT FKSTD_PSEUDOSSNREASONHSTRYOWNR;


ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY ADD (
  CONSTRAINT FKSTD_PSEUDOSSNREASONHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PSEUDOSSNREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY
  DROP CONSTRAINT FKSTD_PROGRAMOFSTUDYHSTRYOWNR;


ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY ADD (
  CONSTRAINT FKSTD_PROGRAMOFSTUDYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PROGRAMOFSTUDY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY
  DROP CONSTRAINT FKSTD_POLICYHOLDERTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY ADD (
  CONSTRAINT FKSTD_POLICYHOLDERTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POLICYHOLDERTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY
  DROP CONSTRAINT FKSTD_PLANCATEGORYTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY ADD (
  CONSTRAINT FKSTD_PLANCATEGORYTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PLANCATEGORYTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY
  DROP CONSTRAINT FKSTD_PLACEOFADMSSNHSTRYOWNR;


ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY ADD (
  CONSTRAINT FKSTD_PLACEOFADMSSNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PLACEOFADMISSION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY
  DROP CONSTRAINT FKSTD_PHONECONTACTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_PHONECONTACTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PHONECONTACTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY
  DROP CONSTRAINT FKSTD_PHONECHANGESRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY ADD (
  CONSTRAINT FKSTD_PHONECHANGESRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PHONECHANGESOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONRELATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY
  DROP CONSTRAINT FKSTD_PERSONRELATIONHSTRYOWNR;


ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY ADD (
  CONSTRAINT FKSTD_PERSONRELATIONHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONRELATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY
  DROP CONSTRAINT FKSTD_PERSONMERGESTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY ADD (
  CONSTRAINT FKSTD_PERSONMERGESTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONMERGESTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY
  DROP CONSTRAINT FKSTD_PERSONCNTCTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_PERSONCNTCTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONCONTACTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  IEN NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  IEN NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  VACODE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  VACODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  PROVIDERTYPE_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  PROVIDERTYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT FKSTD_PERSONCLASSCLSSFCTN;


ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT FKSTD_PERSONCLASSCLSSFCTN 
  FOREIGN KEY (CLASSIFICATION_ID) 
  REFERENCES SDSADM.STD_PERSONCLASSCLASSIFICATION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT FKSTD_PERSONCLASSPROVIDERTYPE;


ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT FKSTD_PERSONCLASSPROVIDERTYPE 
  FOREIGN KEY (PROVIDERTYPE_ID) 
  REFERENCES SDSADM.STD_PERSONCLASSPROVIDERTYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY
  DROP CONSTRAINT FKSTD_PERSONCLASSPTHISTORYOWNR;


ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY ADD (
  CONSTRAINT FKSTD_PERSONCLASSPTHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONCLASSPROVIDERTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY
  DROP CONSTRAINT FKSTD_PERSONCLASSHISTORYOWNER;


ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY ADD (
  CONSTRAINT FKSTD_PERSONCLASSHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONCLASS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY
  DROP CONSTRAINT FKSTD_PERSONCLASSCHISTORYOWNER;


ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY ADD (
  CONSTRAINT FKSTD_PERSONCLASSCHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONCLASSCLASSIFICATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY
  DROP CONSTRAINT FKSTD_PERSONCATEGORYHSTRYOWNR;


ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY ADD (
  CONSTRAINT FKSTD_PERSONCATEGORYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERSONCATEGORY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY
  DROP CONSTRAINT FKSTD_PERMANENTCODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY ADD (
  CONSTRAINT FKSTD_PERMANENTCODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERMANENTCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY
  DROP CONSTRAINT FKSTD_PERIODOFSERVICEHSTRYOWNR;


ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY ADD (
  CONSTRAINT FKSTD_PERIODOFSERVICEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PERIODOFSERVICE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY
  DROP CONSTRAINT FKSTD_PATIENTTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_PATIENTTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PATIENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY
  DROP CONSTRAINT FKSTD_PTFDISCHARGECDHSTRYOWNR;


ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY ADD (
  CONSTRAINT FKSTD_PTFDISCHARGECDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PTFDISCHARGECODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  ALTERNATENAME NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  ALTERNATENAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  SHORTENEDNAME NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  SHORTENEDNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWPERIOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWPERIODHISTORY
  DROP CONSTRAINT FKSTD_POWPERIODHISTORYOWNER;


ALTER TABLE SDSADM.STD_POWPERIODHISTORY ADD (
  CONSTRAINT FKSTD_POWPERIODHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POWPERIOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY
  DROP CONSTRAINT FKSTD_POWDOCUMENTTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_POWDOCUMENTTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POWDOCUMENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY
  DROP CONSTRAINT FKSTD_POWDATASRCTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY ADD (
  CONSTRAINT FKSTD_POWDATASRCTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POWDATASOURCETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY
  DROP CONSTRAINT FKSTD_POWCNFNLCNTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY ADD (
  CONSTRAINT FKSTD_POWCNFNLCNTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POWCONFINELOCNTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY
  DROP CONSTRAINT FKSTD_POWCASLOCNHISTORYOWNER;


ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY ADD (
  CONSTRAINT FKSTD_POWCASLOCNHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_POWCASUALTYLOCATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY
  DROP CONSTRAINT FKSTD_OTHERFDRLAGNCYHSTRYOWNR;


ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY ADD (
  CONSTRAINT FKSTD_OTHERFDRLAGNCYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_OTHERFEDERALAGENCY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  NUCCCODE NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  NUCCCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  PROVIDERTYPE NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  PROVIDERTYPE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY
  DROP CONSTRAINT FKSTD_ORGPROVTAXONOMYHSTRYOWNR;


ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY ADD (
  CONSTRAINT FKSTD_ORGPROVTAXONOMYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ORGPROVTAXONOMY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY
  DROP CONSTRAINT FKSTD_OEFOIFSOURCEHISTORYOWNER;


ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY ADD (
  CONSTRAINT FKSTD_OEFOIFSOURCEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_OEFOIFSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY
  DROP CONSTRAINT FKSTD_NOSITEUPLOADRSNHSTRYOWNR;


ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY ADD (
  CONSTRAINT FKSTD_NOSITEUPLOADRSNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NOSITEUPLOADREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NAMETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY
  DROP CONSTRAINT FKSTD_NAMETYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_NAMETYPEHISTORY ADD (
  CONSTRAINT FKSTD_NAMETYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NAMETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY
  DROP CONSTRAINT FKSTD_NTRVRFCTNMTHDHSTRYOWNR;


ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY ADD (
  CONSTRAINT FKSTD_NTRVRFCTNMTHDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NTRVERIFICATIONMETHOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIER MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY
  DROP CONSTRAINT FKSTD_NTRQUALIFIERHISTORYOWNER;


ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY ADD (
  CONSTRAINT FKSTD_NTRQUALIFIERHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NTRQUALIFIER (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  TYPECODE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  TYPECODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTID MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY
  DROP CONSTRAINT FKSTD_NPPESORGALTIDHISTORYOWNR;


ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY ADD (
  CONSTRAINT FKSTD_NPPESORGALTIDHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NPPESORGALTID (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  REASONCODE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  REASONCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY
  DROP CONSTRAINT FKSTD_NPPESORGALTRSNHSTRYOWNR;


ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY ADD (
  CONSTRAINT FKSTD_NPPESORGALTRSNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NPPESORGALTRSN (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  ALIASTYPECODE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  ALIASTYPECODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY
  DROP CONSTRAINT FKSTD_NPPESORGALSTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY ADD (
  CONSTRAINT FKSTD_NPPESORGALSTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_NPPESORGALIASTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY
  DROP CONSTRAINT FKSTD_MONETARYBNFTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY ADD (
  CONSTRAINT FKSTD_MONETARYBNFTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MONETARYBENEFITTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY
  DROP CONSTRAINT FKSTD_MILITARYSVCCOMPHSTRYOWNR;


ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY ADD (
  CONSTRAINT FKSTD_MILITARYSVCCOMPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MILITARYSVCCOMP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY
  DROP CONSTRAINT FKSTD_MILHISTORYTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY ADD (
  CONSTRAINT FKSTD_MILHISTORYTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MILHISTORYTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY
  DROP CONSTRAINT FKSTD_MESSAGETYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY ADD (
  CONSTRAINT FKSTD_MESSAGETYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MESSAGETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY
  DROP CONSTRAINT FKSTD_MESSAGESTATUSHISTORYOWNR;


ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY ADD (
  CONSTRAINT FKSTD_MESSAGESTATUSHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MESSAGESTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY
  DROP CONSTRAINT FKSTD_MEANSTESTSTATUSHSTRYOWNR;


ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_MEANSTESTSTATUSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MEANSTESTSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY
  DROP CONSTRAINT FKSTD_MEANSTESTSGSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_MEANSTESTSGSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MEANSTESTSIGSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY
  DROP CONSTRAINT FKSTD_MTNOTREQRSNTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY ADD (
  CONSTRAINT FKSTD_MTNOTREQRSNTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MTNOTREQRSNTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY
  DROP CONSTRAINT FKSTD_MARITALSTATUSHISTORYOWNR;


ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_MARITALSTATUSHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MARITALSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MSTSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY
  DROP CONSTRAINT FKSTD_MSTSTATUSHISTORYOWNER;


ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_MSTSTATUSHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MSTSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MASMTTHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MASMTTHISTORY
  DROP CONSTRAINT FKSTD_MASMTTHISTORYOWNER;


ALTER TABLE SDSADM.STD_MASMTTHISTORY ADD (
  CONSTRAINT FKSTD_MASMTTHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY
  DROP CONSTRAINT FKSTD_LOCATIONTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY ADD (
  CONSTRAINT FKSTD_LOCATIONTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_LOCATIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY
  DROP CONSTRAINT FKSTD_INSURANCETYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY ADD (
  CONSTRAINT FKSTD_INSURANCETYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INSURANCETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY
  DROP CONSTRAINT FKSTD_INSRPRTSRCHISTORYOWNER;


ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY ADD (
  CONSTRAINT FKSTD_INSRPRTSRCHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INSURANCEREPORTSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY
  DROP CONSTRAINT FKSTD_INSPLANTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY ADD (
  CONSTRAINT FKSTD_INSPLANTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INSURANCEPLANTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY
  DROP CONSTRAINT FKSTD_INSURANCEMPPNGHSTRYOWNR;


ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY ADD (
  CONSTRAINT FKSTD_INSURANCEMPPNGHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INSURANCEMAPPING (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY
  DROP CONSTRAINT FKSTD_INSRNCHLDRTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY ADD (
  CONSTRAINT FKSTD_INSRNCHLDRTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INSURANCEHOLDERTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  INSTITUTION_ID NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  INSTITUTION_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CODINGSYSTEM_ID NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CODINGSYSTEM_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CODEVALUE NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CODEVALUE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTIONCODE
  DROP CONSTRAINT FKSTD_INSTCDINSTITUTION;


ALTER TABLE SDSADM.STD_INSTITUTIONCODE ADD (
  CONSTRAINT FKSTD_INSTCDINSTITUTION 
  FOREIGN KEY (INSTITUTION_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTIONCODE
  DROP CONSTRAINT FKSTD_INSTCDCODINGSYSTEM;


ALTER TABLE SDSADM.STD_INSTITUTIONCODE ADD (
  CONSTRAINT FKSTD_INSTCDCODINGSYSTEM 
  FOREIGN KEY (CODINGSYSTEM_ID) 
  REFERENCES SDSADM.STD_CODINGSYSTEM (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY
  DROP CONSTRAINT FKSTD_INCOMEVERIFSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_INCOMEVERIFSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INCOMEVERIFSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY
  DROP CONSTRAINT FKSTD_FINANCIALDCMTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY ADD (
  CONSTRAINT FKSTD_FINANCIALDCMTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FINANCIALDOCUMTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY
  DROP CONSTRAINT FKSTD_DOCUMENTSRCTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY ADD (
  CONSTRAINT FKSTD_DOCUMENTSRCTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DOCUMENTSOURCETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY
  DROP CONSTRAINT FKSTD_EXCLUSIONRSNTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY ADD (
  CONSTRAINT FKSTD_EXCLUSIONRSNTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EXCLUSIONRSNTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY
  DROP CONSTRAINT FKSTD_DISTRIBUTIONTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY ADD (
  CONSTRAINT FKSTD_DISTRIBUTIONTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DISTRIBUTIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY
  DROP CONSTRAINT FKSTD_DISTRIBUTIONCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY ADD (
  CONSTRAINT FKSTD_DISTRIBUTIONCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DISTRIBUTIONCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY
  DROP CONSTRAINT FKSTD_INCOMETYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY ADD (
  CONSTRAINT FKSTD_INCOMETYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INCOMETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  INCOME_THRESHOLD_YEAR NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  INCOME_THRESHOLD_YEAR NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY
  DROP CONSTRAINT FKSTD_INCOMETHRESHOLDHSTRYOWNR;


ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY ADD (
  CONSTRAINT FKSTD_INCOMETHRESHOLDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INCOMETHRESHOLD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY
  DROP CONSTRAINT FKSTD_INCOMETESTTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_INCOMETESTTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INCOMETESTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY
  DROP CONSTRAINT FKSTD_INCOMETESTSRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY ADD (
  CONSTRAINT FKSTD_INCOMETESTSRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_INCOMETESTSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY
  DROP CONSTRAINT FKSTD_IDTASKSTATUSTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_IDTASKSTATUSTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IDTASKSTATUSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY
  DROP CONSTRAINT FKSTD_IDTASKPROBCTGRYHSTRYOWNR;


ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY ADD (
  CONSTRAINT FKSTD_IDTASKPROBCTGRYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IDTASKPROBCATEGORY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATE_TASK_IND NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATE_TASK_IND NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY
  DROP CONSTRAINT FKSTD_IDEXCEPTYPEGRPHSTRYOWNR;


ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY ADD (
  CONSTRAINT FKSTD_IDEXCEPTYPEGRPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IDEXCEPTYPEGROUP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY
  DROP CONSTRAINT FKSTD_IDEVENTTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_IDEVENTTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IDEVENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY
  DROP CONSTRAINT FKSTD_IDENTIFIERTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY ADD (
  CONSTRAINT FKSTD_IDENTIFIERTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IDENTIFIERTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMUNIT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY
  DROP CONSTRAINT FKSTD_IVMUNITHISTORYOWNER;


ALTER TABLE SDSADM.STD_IVMUNITHISTORY ADD (
  CONSTRAINT FKSTD_IVMUNITHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IVMUNIT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY
  DROP CONSTRAINT FKSTD_IVMCASEPRIORCRTHSTRYOWNR;


ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY ADD (
  CONSTRAINT FKSTD_IVMCASEPRIORCRTHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IVMCASEPRIORCRIT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY
  DROP CONSTRAINT FKSTD_IVMMIGRATETYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY ADD (
  CONSTRAINT FKSTD_IVMMIGRATETYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IVMMIGRATETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY
  DROP CONSTRAINT FKSTD_IVMDECISIONTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY ADD (
  CONSTRAINT FKSTD_IVMDECISIONTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_IVMDECISIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY
  DROP CONSTRAINT FKSTD_BILLINGTRANSTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_BILLINGTRANSTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_BILLINGTRANSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY
  DROP CONSTRAINT FKSTD_HEALTHBNFTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY ADD (
  CONSTRAINT FKSTD_HEALTHBNFTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HEALTHBENEFITTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY
  DROP CONSTRAINT FKSTD_HL7WHTSBJCTFLTRHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY ADD (
  CONSTRAINT FKSTD_HL7WHTSBJCTFLTRHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7WHATSUBJECTFLTR (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONID MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY
  DROP CONSTRAINT FKSTD_HL7VERSIONIDHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY ADD (
  CONSTRAINT FKSTD_HL7VERSIONIDHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7VERSIONID (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7VALUETYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7VALUETYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7VALUETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY
  DROP CONSTRAINT FKSTD_HL7SRCOFCOMMENTHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY ADD (
  CONSTRAINT FKSTD_HL7SRCOFCOMMENTHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7SRCOFCOMMENT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY
  DROP CONSTRAINT FKSTD_HL7RESPMODALITYHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY ADD (
  CONSTRAINT FKSTD_HL7RESPMODALITYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7RESPMODALITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7RESPLEVCODEHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7RESPLEVCODEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7RESPLEVCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7RECLEVEVCODEHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7RECLEVEVCODEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7RECLEVEVCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY
  DROP CONSTRAINT FKSTD_HL7RECLEVERRRETHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY ADD (
  CONSTRAINT FKSTD_HL7RECLEVERRRETHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7RECLEVERRRET (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY
  DROP CONSTRAINT FKSTD_HL7QUERYRESULTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY ADD (
  CONSTRAINT FKSTD_HL7QUERYRESULTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7QUERYRESULTS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY
  DROP CONSTRAINT FKSTD_HL7QRYRESPSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_HL7QRYRESPSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7QUERYRESPONSESTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7QRYRESPFMTCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7QRYRESPFMTCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7QRYRESPFMTCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY
  DROP CONSTRAINT FKSTD_HL7QUERYPRRTYHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY ADD (
  CONSTRAINT FKSTD_HL7QUERYPRRTYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7QUERYPRIORITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY
  DROP CONSTRAINT FKSTD_HL7QUANLIMREQHISTORYOWNR;


ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY ADD (
  CONSTRAINT FKSTD_HL7QUANLIMREQHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7QUANTITYLIMITEDREQUEST (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY
  DROP CONSTRAINT FKSTD_HL7PROCMODEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7PROCMODEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7PROCESSINGMODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY
  DROP CONSTRAINT FKSTD_HL7PROCIDHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY ADD (
  CONSTRAINT FKSTD_HL7PROCIDHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7PROCESSINGID (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7PRIMKEYVLTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7PRIMKEYVLTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7PRIMARYKEYVALUETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7OBSERVRSLTCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7OBSERVRSLTCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7OBSERVRESULTCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7MESSAGETYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7MESSAGETYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7MESSAGETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY
  DROP CONSTRAINT FKSTD_HL7MESSAGESTRUCHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY ADD (
  CONSTRAINT FKSTD_HL7MESSAGESTRUCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7MESSAGESTRUC (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7MASTERFLIDCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7MASTERFLIDCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7MASTERFILEIDCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY
  DROP CONSTRAINT FKSTD_HL7FILELVLEVNTHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY ADD (
  CONSTRAINT FKSTD_HL7FILELVLEVNTHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7FILELEVELEVENT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7EVENTTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7EVENTTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7EVENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7DATATYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7DATATYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7DATATYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7ACTIONCODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7ACTIONCODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7ACTIONCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY
  DROP CONSTRAINT FKSTD_HL7ACKTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY ADD (
  CONSTRAINT FKSTD_HL7ACKTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY
  DROP CONSTRAINT FKSTD_HL7ACKCODEHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY ADD (
  CONSTRAINT FKSTD_HL7ACKCODEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL7ACKNOWLEDGEMENTCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  HL7VALUE NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  HL7VALUE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  RACE_ID NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  RACE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAP
  DROP CONSTRAINT FKSTD_HL724RACEMAPRACE;


ALTER TABLE SDSADM.STD_HL724RACEMAP ADD (
  CONSTRAINT FKSTD_HL724RACEMAPRACE 
  FOREIGN KEY (RACE_ID) 
  REFERENCES SDSADM.STD_RACE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY
  DROP CONSTRAINT FKSTD_HL724RACEMAPHISTORYOWNER;


ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY ADD (
  CONSTRAINT FKSTD_HL724RACEMAPHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL724RACEMAP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP
  DROP CONSTRAINT FKSTD_HL724MARITALSTMPMRTLSTTS;


ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP ADD (
  CONSTRAINT FKSTD_HL724MARITALSTMPMRTLSTTS 
  FOREIGN KEY (MARITALSTATUS_ID) 
  REFERENCES SDSADM.STD_MARITALSTATUS (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  HL7VALUE NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  HL7VALUE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  MARITALSTATUS_ID NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  MARITALSTATUS_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY
  DROP CONSTRAINT FKSTD_HL724MRTLSTMPHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY ADD (
  CONSTRAINT FKSTD_HL724MRTLSTMPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL724MARITALSTAMAP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP
  DROP CONSTRAINT FKSTD_HL724ETHNICITYMAPETHNCTY;


ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP ADD (
  CONSTRAINT FKSTD_HL724ETHNICITYMAPETHNCTY 
  FOREIGN KEY (ETHNICITY_ID) 
  REFERENCES SDSADM.STD_ETHNICITY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  HL7VALUE NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  HL7VALUE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  ETHNICITY_ID NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  ETHNICITY_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY
  DROP CONSTRAINT FKSTD_HL724ETHNCTYMPHSTRYOWNR;


ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY ADD (
  CONSTRAINT FKSTD_HL724ETHNCTYMPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HL724ETHNICITYMAP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_GENDER MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY
  DROP CONSTRAINT FKSTD_GENDERHISTORYOWNER;


ALTER TABLE SDSADM.STD_GENDERHISTORY ADD (
  CONSTRAINT FKSTD_GENDERHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_GENDER (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_GENDERHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD1 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD1 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD2 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD2 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD3 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD3 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD4 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD4 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD5 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD5 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD6 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD6 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD7 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD7 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD8 NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  TRHD8 NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  MSA NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  MSA NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  EFFECTIVEYEAR NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  EFFECTIVEYEAR NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  STATENAME NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  STATENAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  COUNTYNAME NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  COUNTYNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  FIPS NULL;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS MODIFY 
  FIPS NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY
  DROP CONSTRAINT FKSTD_FINANCIALMPPNGHSTRYOWNR;


ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY ADD (
  CONSTRAINT FKSTD_FINANCIALMPPNGHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FINANCIALMAPPING (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY
  DROP CONSTRAINT FKSTD_FINANINFOSOURCEHSTRYOWNR;


ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY ADD (
  CONSTRAINT FKSTD_FINANINFOSOURCEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FINANINFOSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY
  DROP CONSTRAINT FKSTD_CRRSPNDNCTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY ADD (
  CONSTRAINT FKSTD_CRRSPNDNCTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CORRESPONDENCETYPE (ID)
  ON DELETE CASCADE
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY
  DROP CONSTRAINT FKSTD_DATACHANGESRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY ADD (
  CONSTRAINT FKSTD_DATACHANGESRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DATACHANGESOURCE (ID)
  ON DELETE CASCADE
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY
  DROP CONSTRAINT FKSTD_HEALTHBNFTPLNHSTRYOWNR;


ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY ADD (
  CONSTRAINT FKSTD_HEALTHBNFTPLNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_HEALTHBENEFITPLAN (ID)
  ON DELETE CASCADE
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY
  DROP CONSTRAINT FKSTD_PROCEDURECODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY ADD (
  CONSTRAINT FKSTD_PROCEDURECODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PROCEDURECODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CODESET_TYPE NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CODESET_TYPE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PROCEDURECODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY
  DROP CONSTRAINT FKSTD_DIAGNOSISCODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY ADD (
  CONSTRAINT FKSTD_DIAGNOSISCODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DIAGNOSISCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CODESET_TYPE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CODESET_TYPE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY
  DROP CONSTRAINT FKSTD_DELIVERYPREFTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY ADD (
  CONSTRAINT FKSTD_DELIVERYPREFTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DELIVERYPREFTYP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY
  DROP CONSTRAINT FKSTD_DELIVERYSRCTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY ADD (
  CONSTRAINT FKSTD_DELIVERYSRCTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DELIVERYSRCTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY
  DROP CONSTRAINT FKSTD_MSDSCOUNTRYHISTORYOWNER;


ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY ADD (
  CONSTRAINT FKSTD_MSDSCOUNTRYHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_MSDSCOUNTRY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  COUNTRY_NAME NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  COUNTRY_NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY
  DROP CONSTRAINT FKSTD_PRIMCARETMPRPCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY ADD (
  CONSTRAINT FKSTD_PRIMCARETMPRPCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PRIMCARETMPURPCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY
  DROP CONSTRAINT FKSTD_PREFFACSRCDESIGHSTRYOWNR;


ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY ADD (
  CONSTRAINT FKSTD_PREFFACSRCDESIGHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_PREFFACSRCDESIG (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY
  DROP CONSTRAINT FKSTD_SEEDSTATUSCODEHSTRYOWNR;


ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY ADD (
  CONSTRAINT FKSTD_SEEDSTATUSCODEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_SEEDSTATUSCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY
  DROP CONSTRAINT FKSTD_TERMINATIONRSNHSTRYOWNR;


ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY ADD (
  CONSTRAINT FKSTD_TERMINATIONRSNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_TERMINATIONREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY
  DROP CONSTRAINT FKSTD_FILIPINOVETPRFHSTRYOWNR;


ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY ADD (
  CONSTRAINT FKSTD_FILIPINOVETPRFHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FILIPINOVETERANPROOF (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY
  DROP CONSTRAINT FKSTD_FEEBASISTRTMNTHSTRYOWNR;


ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY ADD (
  CONSTRAINT FKSTD_FEEBASISTRTMNTHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FEEBASISTREATMENTCODETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY
  DROP CONSTRAINT FKSTD_FEEBASISPRGRMHISTORYOWNR;


ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY ADD (
  CONSTRAINT FKSTD_FEEBASISPRGRMHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FEEBASISPROGRAM (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY
  DROP CONSTRAINT FKSTD_FTITRANSTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_FTITRANSTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FTITRANSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY
  DROP CONSTRAINT FKSTD_FTITRANSSTATUSHSTRYOWNR;


ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_FTITRANSSTATUSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FTITRANSSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY
  DROP CONSTRAINT FKSTD_FACILITYTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY ADD (
  CONSTRAINT FKSTD_FACILITYTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_FACILITYTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY
  DROP CONSTRAINT FKSTD_EXTREMITYCODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY ADD (
  CONSTRAINT FKSTD_EXTREMITYCODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EXTREMITYCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY
  DROP CONSTRAINT FKSTD_EXPENSETYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY ADD (
  CONSTRAINT FKSTD_EXPENSETYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EXPENSETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY
  DROP CONSTRAINT FKSTD_EVALUATIONMTHDHSTRYOWNR;


ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY ADD (
  CONSTRAINT FKSTD_EVALUATIONMTHDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EVALUATIONMETHOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  ABBREVIATION NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  ABBREVIATION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ETHNICITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY
  DROP CONSTRAINT FKSTD_ETHNICITYHISTORYOWNER;


ALTER TABLE SDSADM.STD_ETHNICITYHISTORY ADD (
  CONSTRAINT FKSTD_ETHNICITYHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ETHNICITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY
  DROP CONSTRAINT FKSTD_ETHCOLLMTHDHISTORYOWNER;


ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY ADD (
  CONSTRAINT FKSTD_ETHCOLLMTHDHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ETHNICITYCOLLECTIONMETHOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY
  DROP CONSTRAINT FKSTD_ENTITLEMENTCODEHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY ADD (
  CONSTRAINT FKSTD_ENTITLEMENTCODEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENTITLEMENTCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  ENROLLMENTCAT_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  ENROLLMENTCAT_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS
  DROP CONSTRAINT FKSTD_ENROLLMENTSTTSENRLLMNTCT;


ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS ADD (
  CONSTRAINT FKSTD_ENROLLMENTSTTSENRLLMNTCT 
  FOREIGN KEY (ENROLLMENTCAT_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTCATTYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY
  DROP CONSTRAINT FKSTD_ENROLLMENTSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_ENROLLMENTSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY
  DROP CONSTRAINT FKSTD_ENROLLMENTSRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY ADD (
  CONSTRAINT FKSTD_ENROLLMENTSRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY
  DROP CONSTRAINT FKSTD_ENRLLMNTPRRSGRPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY ADD (
  CONSTRAINT FKSTD_ENRLLMNTPRRSGRPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTPRIORSGRP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY
  DROP CONSTRAINT FKSTD_ENRLLMNTPRRGRPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY ADD (
  CONSTRAINT FKSTD_ENRLLMNTPRRGRPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTPRIORGRP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY
  DROP CONSTRAINT FKSTD_ENRLLMNTOVRDRSNHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY ADD (
  CONSTRAINT FKSTD_ENRLLMNTOVRDRSNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTOVERRIDEREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY
  DROP CONSTRAINT FKSTD_ENROLLMENTCTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY ADD (
  CONSTRAINT FKSTD_ENROLLMENTCTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ENROLLMENTCATTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY
  DROP CONSTRAINT FKSTD_EMPLOYMENTSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_EMPLOYMENTSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EMPLOYMENTSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY
  DROP CONSTRAINT FKSTD_EMERGENCYRSPNSHSTRYOWNR;


ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY ADD (
  CONSTRAINT FKSTD_EMERGENCYRSPNSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EMERGENCYRESPONSE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  INSTITUTION_ID NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  INSTITUTION_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  EMAIL_DOMAIN_NAME NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  EMAIL_DOMAIN_NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN
  DROP CONSTRAINT FKSTD_EMAIL_DOMAININSTITUTION;


ALTER TABLE SDSADM.STD_EMAIL_DOMAIN ADD (
  CONSTRAINT FKSTD_EMAIL_DOMAININSTITUTION 
  FOREIGN KEY (INSTITUTION_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY
  DROP CONSTRAINT FKSTD_EMAIL_DOMAINHISTORYOWNER;


ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY ADD (
  CONSTRAINT FKSTD_EMAIL_DOMAINHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EMAIL_DOMAIN (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY
  DROP CONSTRAINT FKSTD_EMAILCHANGESRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY ADD (
  CONSTRAINT FKSTD_EMAILCHANGESRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EMAILCHANGESOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY
  DROP CONSTRAINT FKSTD_EMAILADDRESSTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_EMAILADDRESSTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EMAILADDRESSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY
  DROP CONSTRAINT FKSTD_ELGBLTYVRSCTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY ADD (
  CONSTRAINT FKSTD_ELGBLTYVRSCTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYVRSCTYP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY
  DROP CONSTRAINT FKSTD_ELIGIBILITYSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_ELIGIBILITYSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY
  DROP CONSTRAINT FKSTD_ELIGPRMRYDTSRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY ADD (
  CONSTRAINT FKSTD_ELIGPRMRYDTSRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYPRIMARYDATASRC (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY
  DROP CONSTRAINT FKSTD_ELIGIBILITYFCTRHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY ADD (
  CONSTRAINT FKSTD_ELIGIBILITYFCTRHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYFACTOR (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY
  DROP CONSTRAINT FKSTD_ELIGDOCTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY ADD (
  CONSTRAINT FKSTD_ELIGDOCTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGDOCTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  VACODETYPE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  VACODETYPE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  TYPE_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  TYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE
  DROP CONSTRAINT FKSTD_ELIGIBILITYCODETYPE;


ALTER TABLE SDSADM.STD_ELIGIBILITYCODE ADD (
  CONSTRAINT FKSTD_ELIGIBILITYCODETYPE 
  FOREIGN KEY (TYPE_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYCODETYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY
  DROP CONSTRAINT FKSTD_ELGBLTYCDTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY ADD (
  CONSTRAINT FKSTD_ELGBLTYCDTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYCODETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY
  DROP CONSTRAINT FKSTD_ELIGIBILITYCODEHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY ADD (
  CONSTRAINT FKSTD_ELIGIBILITYCODEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELIGIBILITYCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY
  DROP CONSTRAINT FKSTD_ELCTRNCPLNTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY ADD (
  CONSTRAINT FKSTD_ELCTRNCPLNTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ELECTRONICPLANTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EGTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY
  DROP CONSTRAINT FKSTD_EGTTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_EGTTYPEHISTORY ADD (
  CONSTRAINT FKSTD_EGTTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EGTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY
  DROP CONSTRAINT FKSTD_EGTPROCESSSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_EGTPROCESSSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_EGTPROCESSSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  IEN NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  IEN NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  DXCODE NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  DXCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY
  DROP CONSTRAINT FKSTD_DISABILITYCNDTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY ADD (
  CONSTRAINT FKSTD_DISABILITYCNDTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DISABILITYCONDITION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY
  DROP CONSTRAINT FKSTD_DIAGNOSISTYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY ADD (
  CONSTRAINT FKSTD_DIAGNOSISTYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DIAGNOSISTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY
  DROP CONSTRAINT FKSTD_DIAGNOSISCODSCHHSTRYOWNR;


ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY ADD (
  CONSTRAINT FKSTD_DIAGNOSISCODSCHHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DIAGNOSISCODSCH (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY
  DROP CONSTRAINT FKSTD_DETAILEDINCMTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY ADD (
  CONSTRAINT FKSTD_DETAILEDINCMTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DETAILEDINCOMETYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC
  DROP CONSTRAINT FKSTD_DTLDINCFNDCDTLDINCMTYP;


ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC ADD (
  CONSTRAINT FKSTD_DTLDINCFNDCDTLDINCMTYP 
  FOREIGN KEY (DETAILEDINCOMETYPE_ID) 
  REFERENCES SDSADM.STD_DETAILEDINCOMETYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC
  DROP CONSTRAINT FKSTD_DTLDINCFNDCFNNCLDCMTYP;


ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC ADD (
  CONSTRAINT FKSTD_DTLDINCFNDCFNNCLDCMTYP 
  FOREIGN KEY (FINANCIALDOCUMTYPE_ID) 
  REFERENCES SDSADM.STD_FINANCIALDOCUMTYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  DETAILEDINCOMETYPE_ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  DETAILEDINCOMETYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  FINANCIALDOCUMTYPE_ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  FINANCIALDOCUMTYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY
  DROP CONSTRAINT FKSTD_DETAILEDINCFNDCHSTRYOWNR;


ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY ADD (
  CONSTRAINT FKSTD_DETAILEDINCFNDCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DETAILEDINCFINDOC (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DEGREE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY
  DROP CONSTRAINT FKSTD_DEGREEHISTORYOWNER;


ALTER TABLE SDSADM.STD_DEGREEHISTORY ADD (
  CONSTRAINT FKSTD_DEGREEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DEGREE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DEGREEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY
  DROP CONSTRAINT FKSTD_DECORATIONTYPEHSTRYOWNR;


ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY ADD (
  CONSTRAINT FKSTD_DECORATIONTYPEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DECORATIONTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY
  DROP CONSTRAINT FKSTD_DECORATIONSTTSHSTRYOWNR;


ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY ADD (
  CONSTRAINT FKSTD_DECORATIONSTTSHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DECORATIONSTATUS (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY
  DROP CONSTRAINT FKSTD_DECORATNDOCTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY ADD (
  CONSTRAINT FKSTD_DECORATNDOCTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DECORATIONDOCUMENTTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY
  DROP CONSTRAINT FKSTD_DEATHNTFCTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY ADD (
  CONSTRAINT FKSTD_DEATHNTFCTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DEATHNOTIFICATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY
  DROP CONSTRAINT FKSTD_DATACLLCTJBTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY ADD (
  CONSTRAINT FKSTD_DATACLLCTJBTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DATACOLLECTJOBTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  STATE_ID NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  STATE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  COUNTYNUMBER NULL;

ALTER TABLE SDSADM.STD_COUNTY MODIFY 
  COUNTYNUMBER NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTY
  DROP CONSTRAINT FKSTD_COUNTYSTATE;


ALTER TABLE SDSADM.STD_COUNTY ADD (
  CONSTRAINT FKSTD_COUNTYSTATE 
  FOREIGN KEY (STATE_ID) 
  REFERENCES SDSADM.STD_STATE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COUNTYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTYHISTORY
  DROP CONSTRAINT FKSTD_COUNTYHISTORYOWNER;


ALTER TABLE SDSADM.STD_COUNTYHISTORY ADD (
  CONSTRAINT FKSTD_COUNTYHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COUNTY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  NUMERICCODE NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  NUMERICCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  SHORTNAME NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  SHORTNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  ALPHA3CODE NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  ALPHA3CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  FIPSCODE NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  FIPSCODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COUNTRY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY
  DROP CONSTRAINT FKSTD_COUNTRYHISTORYOWNER;


ALTER TABLE SDSADM.STD_COUNTRYHISTORY ADD (
  CONSTRAINT FKSTD_COUNTRYHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COUNTRY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY
  DROP CONSTRAINT FKSTD_CONFADDRCATHISTORYOWNER;


ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY ADD (
  CONSTRAINT FKSTD_CONFADDRCATHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CONFIDENTIALADDRESSCAT (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY
  DROP CONSTRAINT FKSTD_CONDITIONCODEHISTORYOWNR;


ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY ADD (
  CONSTRAINT FKSTD_CONDITIONCODEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CONDITIONCODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY
  DROP CONSTRAINT FKSTD_COMBATSVCSOURCEHSTRYOWNR;


ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY ADD (
  CONSTRAINT FKSTD_COMBATSVCSOURCEHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COMBATSVCSOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  AREA NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  AREA NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  INCLUDED_LOCATIONS NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  INCLUDED_LOCATIONS NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  STARTDATE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  STARTDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY
  DROP CONSTRAINT FKSTD_COMBATSVCLCTNHSTRYOWNR;


ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY ADD (
  CONSTRAINT FKSTD_COMBATSVCLCTNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COMBATSVCLOCATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY
  DROP CONSTRAINT FKSTD_COMBATPAYTYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY ADD (
  CONSTRAINT FKSTD_COMBATPAYTYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COMBATPAYTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  STARTDATE NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  STARTDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY
  DROP CONSTRAINT FKSTD_COMBATLOCATIONHSTRYOWNR;


ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY ADD (
  CONSTRAINT FKSTD_COMBATLOCATIONHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COMBATLOCATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  HL7CODE NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  HL7CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY
  DROP CONSTRAINT FKSTD_COLLECTIONHISTORYOWNER;


ALTER TABLE SDSADM.STD_COLLECTIONHISTORY ADD (
  CONSTRAINT FKSTD_COLLECTIONHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_COLLECTIONMETHOD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEM MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY
  DROP CONSTRAINT FKSTD_CODINGSYSTEMHISTORYOWNER;


ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY ADD (
  CONSTRAINT FKSTD_CODINGSYSTEMHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CODINGSYSTEM (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  IMPLEMENTOR NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  IMPLEMENTOR NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CLASSNAME NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CLASSNAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  TABLENAME NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  TABLENAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CODESET MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY
  DROP CONSTRAINT FKSTD_CLINDETERTYPEHISTORYOWNR;


ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY ADD (
  CONSTRAINT FKSTD_CLINDETERTYPEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CLINDETERTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY
  DROP CONSTRAINT FKSTD_CATADSBLTYEXTCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY ADD (
  CONSTRAINT FKSTD_CATADSBLTYEXTCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CATADISABILITYEXTCD (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY
  DROP CONSTRAINT FKSTD_CANCELDCLNSTTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY ADD (
  CONSTRAINT FKSTD_CANCELDCLNSTTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CANCELDECLINESTTYP (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY
  DROP CONSTRAINT FKSTD_CANCELDECLINEHISTORYOWNR;


ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY ADD (
  CONSTRAINT FKSTD_CANCELDECLINEHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_CANCELDECLINEREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY
  DROP CONSTRAINT FKSTD_BENEFITSCRDTYPHSTRYOWNR;


ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY ADD (
  CONSTRAINT FKSTD_BENEFITSCRDTYPHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_BENEFITSCOORDTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY
  DROP CONSTRAINT FKSTD_ASSIGNINGAUTHORITYCNTRY;


ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY ADD (
  CONSTRAINT FKSTD_ASSIGNINGAUTHORITYCNTRY 
  FOREIGN KEY (COUNTRY_ID) 
  REFERENCES SDSADM.STD_COUNTRY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY
  DROP CONSTRAINT FKSTD_ASSIGNINGATHRTYHSTRYOWNR;


ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY ADD (
  CONSTRAINT FKSTD_ASSIGNINGATHRTYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ASSIGNINGAUTHORITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ASSETTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY
  DROP CONSTRAINT FKSTD_ASSETTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY ADD (
  CONSTRAINT FKSTD_ASSETTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ASSETTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  INSTITUTION_ID NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  INSTITUTION_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  ASSIGNINGAUTHORITY_ID NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  ASSIGNINGAUTHORITY_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  IDENTIFIERTYPE_ID NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  IDENTIFIERTYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_APPLICATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATION
  DROP CONSTRAINT FKSTD_APPLICATIONINSTITUTION;


ALTER TABLE SDSADM.STD_APPLICATION ADD (
  CONSTRAINT FKSTD_APPLICATIONINSTITUTION 
  FOREIGN KEY (INSTITUTION_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATION
  DROP CONSTRAINT FKSTD_APPLICATIONASSGNNGTHRTY;


ALTER TABLE SDSADM.STD_APPLICATION ADD (
  CONSTRAINT FKSTD_APPLICATIONASSGNNGTHRTY 
  FOREIGN KEY (ASSIGNINGAUTHORITY_ID) 
  REFERENCES SDSADM.STD_ASSIGNINGAUTHORITY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATION
  DROP CONSTRAINT FKSTD_APPLICATIONIDNTFRTYP;


ALTER TABLE SDSADM.STD_APPLICATION ADD (
  CONSTRAINT FKSTD_APPLICATIONIDNTFRTYP 
  FOREIGN KEY (IDENTIFIERTYPE_ID) 
  REFERENCES SDSADM.STD_IDENTIFIERTYPE (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY
  DROP CONSTRAINT FKSTD_APPLICATIONHISTORYOWNER;


ALTER TABLE SDSADM.STD_APPLICATIONHISTORY ADD (
  CONSTRAINT FKSTD_APPLICATIONHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_APPLICATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY
  DROP CONSTRAINT FKSTD_ALLIEDCOUNTRYHISTORYOWNR;


ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY ADD (
  CONSTRAINT FKSTD_ALLIEDCOUNTRYHISTORYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ALLIEDCOUNTRY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY
  DROP CONSTRAINT FKSTD_AGENTORANGELOCNHSTRYOWNR;


ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY ADD (
  CONSTRAINT FKSTD_AGENTORANGELOCNHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_AGENTORANGELOCATION (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AGENCY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AGENCYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AGENCYHISTORY
  DROP CONSTRAINT FKSTD_AGENCYHISTORYOWNER;


ALTER TABLE SDSADM.STD_AGENCYHISTORY ADD (
  CONSTRAINT FKSTD_AGENCYHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_AGENCY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY
  DROP CONSTRAINT FKSTD_AFFECTEDEXTRMTYHSTRYOWNR;


ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY ADD (
  CONSTRAINT FKSTD_AFFECTEDEXTRMTYHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_AFFECTEDEXTREMITY (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT FKSTD_AEADMINISTRATIVEPARENT;


ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT FKSTD_AEADMINISTRATIVEPARENT 
  FOREIGN KEY (ADMINISTRATIVEPARENT_ID) 
  REFERENCES SDSADM.STD_ADMINISTRATIVEENTITY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT FKSTD_AEAGENCY;


ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT FKSTD_AEAGENCY 
  FOREIGN KEY (AGENCY_ID) 
  REFERENCES SDSADM.STD_AGENCY (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT FKSTD_AEINSTITUTION;


ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT FKSTD_AEINSTITUTION 
  FOREIGN KEY (INSTITUTION_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY
  DROP CONSTRAINT FKSTD_ADDRESSTYPEHISTORYOWNER;


ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY ADD (
  CONSTRAINT FKSTD_ADDRESSTYPEHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ADDRESSTYPE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY
  DROP CONSTRAINT FKSTD_ADRSINVALRSNHISTORYOWNER;


ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY ADD (
  CONSTRAINT FKSTD_ADRSINVALRSNHISTORYOWNER 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ADDRESSINVALIDREASON (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY
  DROP CONSTRAINT FKSTD_ADRSDLVRYFLRCDHSTRYOWNR;


ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY ADD (
  CONSTRAINT FKSTD_ADRSDLVRYFLRCDHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ADDRESSDELIVERYFAILURECODE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY
  DROP CONSTRAINT FKSTD_ADDRESSCHNGSRCHSTRYOWNR;


ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY ADD (
  CONSTRAINT FKSTD_ADDRESSCHNGSRCHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_ADDRESSCHANGESOURCE (ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  DIRECTION NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  DIRECTION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MESSAGETYPE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_MESSAGESTATUS MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  VISTANAME NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  VISTANAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  FACILITYTYPE_ID NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  FACILITYTYPE_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  MFN_ZEG_RECIPIENT NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  MFN_ZEG_RECIPIENT NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_INSTITUTION MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT FKSTD_INSTPARENT;


ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT FKSTD_INSTPARENT 
  FOREIGN KEY (PARENT_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT FKSTD_INSTREALIGNEDFROM;


ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT FKSTD_INSTREALIGNEDFROM 
  FOREIGN KEY (REALIGNEDFROM_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT FKSTD_INSTREALIGNEDTO;


ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT FKSTD_INSTREALIGNEDTO 
  FOREIGN KEY (REALIGNEDTO_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT FKSTD_INSTVISN;


ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT FKSTD_INSTVISN 
  FOREIGN KEY (VISN_ID) 
  REFERENCES SDSADM.STD_INSTITUTION (ID)
  DEFERRABLE INITIALLY DEFERRED
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  OWNER_ID NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  OWNER_ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  ISACTIVE NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  ISACTIVE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  EFFECTIVEDATE NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  EFFECTIVEDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  EXPIRATIONDATE NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  EXPIRATIONDATE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY
  DROP CONSTRAINT FKSTD_DESCRIPTORCODESHSTRYOWNR;


ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY ADD (
  CONSTRAINT FKSTD_DESCRIPTORCODESHSTRYOWNR 
  FOREIGN KEY (OWNER_ID) 
  REFERENCES SDSADM.STD_DESCRIPTORCODE (ID)
  ON DELETE CASCADE
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  ID NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  ID NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CODE NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CODE NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  NAME NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  NAME NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  VERSION NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  VERSION NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CREATED NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CREATED NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CREATEDBY NULL;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE MODIFY 
  CREATEDBY NOT NULL
  ENABLE VALIDATE;
ALTER TABLE SDSADM.STD_DESCRIPTORCODE
  DROP CONSTRAINT PK_STD_DESCRIPTORCODES;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE ADD (
  CONSTRAINT PK_STD_DESCRIPTORCODES
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY
  DROP CONSTRAINT PK_STD_DESCRIPTORCODESHISTORY;

ALTER TABLE SDSADM.STD_DESCRIPTORCODEHISTORY ADD (
  CONSTRAINT PK_STD_DESCRIPTORCODESHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DESCRIPTORCODE
  DROP CONSTRAINT UQSTD_DESCRIPTORCODESCODE;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE ADD (
  CONSTRAINT UQSTD_DESCRIPTORCODESCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DESCRIPTORCODE
  DROP CONSTRAINT UQSTD_DESCRIPTORCODESNAME;

ALTER TABLE SDSADM.STD_DESCRIPTORCODE ADD (
  CONSTRAINT UQSTD_DESCRIPTORCODESNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTRSN
  DROP CONSTRAINT UQSTD_NPPESORGALTRSNREASONCODE;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN ADD (
  CONSTRAINT UQSTD_NPPESORGALTRSNREASONCODE
  UNIQUE (REASONCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTRSN
  DROP CONSTRAINT PK_STD_NPPESORGALTRSN;

ALTER TABLE SDSADM.STD_NPPESORGALTRSN ADD (
  CONSTRAINT PK_STD_NPPESORGALTRSN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY
  DROP CONSTRAINT PK_STD_NPPESORGALTIDHISTORY;

ALTER TABLE SDSADM.STD_NPPESORGALTIDHISTORY ADD (
  CONSTRAINT PK_STD_NPPESORGALTIDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTID
  DROP CONSTRAINT UQSTD_NPPESORGALTIDTYPECODE;

ALTER TABLE SDSADM.STD_NPPESORGALTID ADD (
  CONSTRAINT UQSTD_NPPESORGALTIDTYPECODE
  UNIQUE (TYPECODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTID
  DROP CONSTRAINT PK_STD_NPPESORGALTID;

ALTER TABLE SDSADM.STD_NPPESORGALTID ADD (
  CONSTRAINT PK_STD_NPPESORGALTID
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY
  DROP CONSTRAINT PK_STD_NTRQUALIFIERHISTORY;

ALTER TABLE SDSADM.STD_NTRQUALIFIERHISTORY ADD (
  CONSTRAINT PK_STD_NTRQUALIFIERHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRQUALIFIER
  DROP CONSTRAINT UQSTD_NTRQUALIFIERCODE;

ALTER TABLE SDSADM.STD_NTRQUALIFIER ADD (
  CONSTRAINT UQSTD_NTRQUALIFIERCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRQUALIFIER
  DROP CONSTRAINT UQSTD_NTRQUALIFIERNAME;

ALTER TABLE SDSADM.STD_NTRQUALIFIER ADD (
  CONSTRAINT UQSTD_NTRQUALIFIERNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRQUALIFIER
  DROP CONSTRAINT PK_STD_NTRQUALIFIER;

ALTER TABLE SDSADM.STD_NTRQUALIFIER ADD (
  CONSTRAINT PK_STD_NTRQUALIFIER
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY
  DROP CONSTRAINT PK_STD_NTRVERIFICATNMTHDHSTRY;

ALTER TABLE SDSADM.STD_NTRVERIFICATNMTHDHISTORY ADD (
  CONSTRAINT PK_STD_NTRVERIFICATNMTHDHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD
  DROP CONSTRAINT UQSTD_NTRVERIFICATNMTHDCODE;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD ADD (
  CONSTRAINT UQSTD_NTRVERIFICATNMTHDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD
  DROP CONSTRAINT UQSTD_NTRVERIFICATNMTHDNAME;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD ADD (
  CONSTRAINT UQSTD_NTRVERIFICATNMTHDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD
  DROP CONSTRAINT PK_STD_NTRVERIFICATNMTHD;

ALTER TABLE SDSADM.STD_NTRVERIFICATIONMETHOD ADD (
  CONSTRAINT PK_STD_NTRVERIFICATNMTHD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMETYPEHISTORY
  DROP CONSTRAINT PK_STD_NAMETYPEHISTORY;

ALTER TABLE SDSADM.STD_NAMETYPEHISTORY ADD (
  CONSTRAINT PK_STD_NAMETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMETYPE
  DROP CONSTRAINT UQSTD_NAMETYPECODE;

ALTER TABLE SDSADM.STD_NAMETYPE ADD (
  CONSTRAINT UQSTD_NAMETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMETYPE
  DROP CONSTRAINT UQSTD_NAMETYPENAME;

ALTER TABLE SDSADM.STD_NAMETYPE ADD (
  CONSTRAINT UQSTD_NAMETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMETYPE
  DROP CONSTRAINT PK_STD_NAMETYPE;

ALTER TABLE SDSADM.STD_NAMETYPE ADD (
  CONSTRAINT PK_STD_NAMETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY
  DROP CONSTRAINT PK_STD_NOSITEUPLOADREASONHSTRY;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASONHISTORY ADD (
  CONSTRAINT PK_STD_NOSITEUPLOADREASONHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON
  DROP CONSTRAINT UQSTD_NOSITEUPLOADREASONCODE;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON ADD (
  CONSTRAINT UQSTD_NOSITEUPLOADREASONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON
  DROP CONSTRAINT UQSTD_NOSITEUPLOADREASONNAME;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON ADD (
  CONSTRAINT UQSTD_NOSITEUPLOADREASONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON
  DROP CONSTRAINT PK_STD_NOSITEUPLOADREASON;

ALTER TABLE SDSADM.STD_NOSITEUPLOADREASON ADD (
  CONSTRAINT PK_STD_NOSITEUPLOADREASON
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY
  DROP CONSTRAINT PK_STD_OEFOIFSOURCEHISTORY;

ALTER TABLE SDSADM.STD_OEFOIFSOURCEHISTORY ADD (
  CONSTRAINT PK_STD_OEFOIFSOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OEFOIFSOURCE
  DROP CONSTRAINT UQSTD_OEFOIFSOURCECODE;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE ADD (
  CONSTRAINT UQSTD_OEFOIFSOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OEFOIFSOURCE
  DROP CONSTRAINT UQSTD_OEFOIFSOURCENAME;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE ADD (
  CONSTRAINT UQSTD_OEFOIFSOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OEFOIFSOURCE
  DROP CONSTRAINT PK_STD_OEFOIFSOURCE;

ALTER TABLE SDSADM.STD_OEFOIFSOURCE ADD (
  CONSTRAINT PK_STD_OEFOIFSOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY
  DROP CONSTRAINT PK_STD_ORGPROVTAXONOMYHISTORY;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMYHISTORY ADD (
  CONSTRAINT PK_STD_ORGPROVTAXONOMYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY
  DROP CONSTRAINT UQSTD_ORGPROVTAXONOMYNUCCCODE;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY ADD (
  CONSTRAINT UQSTD_ORGPROVTAXONOMYNUCCCODE
  UNIQUE (NUCCCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY
  DROP CONSTRAINT PK_STD_ORGPROVTAXONOMY;

ALTER TABLE SDSADM.STD_ORGPROVTAXONOMY ADD (
  CONSTRAINT PK_STD_ORGPROVTAXONOMY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY
  DROP CONSTRAINT PK_STD_OTHERFEDERALAGENCYHSTRY;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCYHISTORY ADD (
  CONSTRAINT PK_STD_OTHERFEDERALAGENCYHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY
  DROP CONSTRAINT UQSTD_OTHERFEDERALAGENCYCODE;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY ADD (
  CONSTRAINT UQSTD_OTHERFEDERALAGENCYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY
  DROP CONSTRAINT UQSTD_OTHERFEDERALAGENCYNAME;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY ADD (
  CONSTRAINT UQSTD_OTHERFEDERALAGENCYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY
  DROP CONSTRAINT PK_STD_OTHERFEDERALAGENCY;

ALTER TABLE SDSADM.STD_OTHERFEDERALAGENCY ADD (
  CONSTRAINT PK_STD_OTHERFEDERALAGENCY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY
  DROP CONSTRAINT PK_STD_POWCASLOCNHISTORY;

ALTER TABLE SDSADM.STD_POWCASLOCNHISTORY ADD (
  CONSTRAINT PK_STD_POWCASLOCNHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION
  DROP CONSTRAINT UQSTD_POWCASLOCNCODE;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION ADD (
  CONSTRAINT UQSTD_POWCASLOCNCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION
  DROP CONSTRAINT PK_STD_POWCASLOCN;

ALTER TABLE SDSADM.STD_POWCASUALTYLOCATION ADD (
  CONSTRAINT PK_STD_POWCASLOCN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY
  DROP CONSTRAINT PK_STD_POWCONFINELOCNTYPEHSTRY;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPEHISTORY ADD (
  CONSTRAINT PK_STD_POWCONFINELOCNTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE
  DROP CONSTRAINT UQSTD_POWCONFINELOCNTYPECODE;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE ADD (
  CONSTRAINT UQSTD_POWCONFINELOCNTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE
  DROP CONSTRAINT PK_STD_POWCONFINELOCNTYPE;

ALTER TABLE SDSADM.STD_POWCONFINELOCNTYPE ADD (
  CONSTRAINT PK_STD_POWCONFINELOCNTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY
  DROP CONSTRAINT PK_STD_POWDATASOURCETYPEHSTRY;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPEHISTORY ADD (
  CONSTRAINT PK_STD_POWDATASOURCETYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE
  DROP CONSTRAINT UQSTD_POWDATASOURCETYPECODE;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE ADD (
  CONSTRAINT UQSTD_POWDATASOURCETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE
  DROP CONSTRAINT UQSTD_POWDATASOURCETYPENAME;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE ADD (
  CONSTRAINT UQSTD_POWDATASOURCETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDATASOURCETYPE
  DROP CONSTRAINT PK_STD_POWDATASOURCETYPE;

ALTER TABLE SDSADM.STD_POWDATASOURCETYPE ADD (
  CONSTRAINT PK_STD_POWDATASOURCETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY
  DROP CONSTRAINT PK_STD_POWDOCUMENTTYPEHISTORY;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_POWDOCUMENTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE
  DROP CONSTRAINT UQSTD_POWDOCUMENTTYPECODE;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE ADD (
  CONSTRAINT UQSTD_POWDOCUMENTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE
  DROP CONSTRAINT PK_STD_POWDOCUMENTTYPE;

ALTER TABLE SDSADM.STD_POWDOCUMENTTYPE ADD (
  CONSTRAINT PK_STD_POWDOCUMENTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWPERIODHISTORY
  DROP CONSTRAINT PK_STD_POWPERIODHISTORY;

ALTER TABLE SDSADM.STD_POWPERIODHISTORY ADD (
  CONSTRAINT PK_STD_POWPERIODHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWPERIOD
  DROP CONSTRAINT UQSTD_POWPERIODCODE;

ALTER TABLE SDSADM.STD_POWPERIOD ADD (
  CONSTRAINT UQSTD_POWPERIODCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POWPERIOD
  DROP CONSTRAINT PK_STD_POWPERIOD;

ALTER TABLE SDSADM.STD_POWPERIOD ADD (
  CONSTRAINT PK_STD_POWPERIOD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY
  DROP CONSTRAINT PK_STD_PTFDISCHARGECODEHISTORY;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODEHISTORY ADD (
  CONSTRAINT PK_STD_PTFDISCHARGECODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE
  DROP CONSTRAINT UQSTD_PTFDISCHARGECODECODE;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE ADD (
  CONSTRAINT UQSTD_PTFDISCHARGECODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE
  DROP CONSTRAINT UQSTD_PTFDISCHARGECODENAME;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE ADD (
  CONSTRAINT UQSTD_PTFDISCHARGECODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PTFDISCHARGECODE
  DROP CONSTRAINT PK_STD_PTFDISCHARGECODE;

ALTER TABLE SDSADM.STD_PTFDISCHARGECODE ADD (
  CONSTRAINT PK_STD_PTFDISCHARGECODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY
  DROP CONSTRAINT PK_STD_PATIENTTYPEHISTORY;

ALTER TABLE SDSADM.STD_PATIENTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_PATIENTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PATIENTTYPE
  DROP CONSTRAINT UQSTD_PATIENTTYPECODE;

ALTER TABLE SDSADM.STD_PATIENTTYPE ADD (
  CONSTRAINT UQSTD_PATIENTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PATIENTTYPE
  DROP CONSTRAINT UQSTD_PATIENTTYPENAME;

ALTER TABLE SDSADM.STD_PATIENTTYPE ADD (
  CONSTRAINT UQSTD_PATIENTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PATIENTTYPE
  DROP CONSTRAINT PK_STD_PATIENTTYPE;

ALTER TABLE SDSADM.STD_PATIENTTYPE ADD (
  CONSTRAINT PK_STD_PATIENTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY
  DROP CONSTRAINT PK_STD_PERIODOFSERVICEHISTORY;

ALTER TABLE SDSADM.STD_PERIODOFSERVICEHISTORY ADD (
  CONSTRAINT PK_STD_PERIODOFSERVICEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERIODOFSERVICE
  DROP CONSTRAINT UQSTD_PERIODOFSERVICECODE;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE ADD (
  CONSTRAINT UQSTD_PERIODOFSERVICECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERIODOFSERVICE
  DROP CONSTRAINT UQSTD_PERIODOFSERVICENAME;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE ADD (
  CONSTRAINT UQSTD_PERIODOFSERVICENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERIODOFSERVICE
  DROP CONSTRAINT PK_STD_PERIODOFSERVICE;

ALTER TABLE SDSADM.STD_PERIODOFSERVICE ADD (
  CONSTRAINT PK_STD_PERIODOFSERVICE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY
  DROP CONSTRAINT PK_STD_PERMANENTCODEHISTORY;

ALTER TABLE SDSADM.STD_PERMANENTCODEHISTORY ADD (
  CONSTRAINT PK_STD_PERMANENTCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERMANENTCODE
  DROP CONSTRAINT UQSTD_PERMANENTCODECODE;

ALTER TABLE SDSADM.STD_PERMANENTCODE ADD (
  CONSTRAINT UQSTD_PERMANENTCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERMANENTCODE
  DROP CONSTRAINT UQSTD_PERMANENTCODENAME;

ALTER TABLE SDSADM.STD_PERMANENTCODE ADD (
  CONSTRAINT UQSTD_PERMANENTCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERMANENTCODE
  DROP CONSTRAINT PK_STD_PERMANENTCODE;

ALTER TABLE SDSADM.STD_PERMANENTCODE ADD (
  CONSTRAINT PK_STD_PERMANENTCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY
  DROP CONSTRAINT PK_STD_PERSONCATEGORYHISTORY;

ALTER TABLE SDSADM.STD_PERSONCATEGORYHISTORY ADD (
  CONSTRAINT PK_STD_PERSONCATEGORYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCATEGORY
  DROP CONSTRAINT UQSTD_PERSONCATEGORYCODE;

ALTER TABLE SDSADM.STD_PERSONCATEGORY ADD (
  CONSTRAINT UQSTD_PERSONCATEGORYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCATEGORY
  DROP CONSTRAINT UQSTD_PERSONCATEGORYNAME;

ALTER TABLE SDSADM.STD_PERSONCATEGORY ADD (
  CONSTRAINT UQSTD_PERSONCATEGORYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCATEGORY
  DROP CONSTRAINT PK_STD_PERSONCATEGORY;

ALTER TABLE SDSADM.STD_PERSONCATEGORY ADD (
  CONSTRAINT PK_STD_PERSONCATEGORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY
  DROP CONSTRAINT PK_STD_PERSONCLASSCHISTORY;

ALTER TABLE SDSADM.STD_PERSONCLASSCHISTORY ADD (
  CONSTRAINT PK_STD_PERSONCLASSCHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION
  DROP CONSTRAINT UQSTD_PERSONCLASSCNAME;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION ADD (
  CONSTRAINT UQSTD_PERSONCLASSCNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION
  DROP CONSTRAINT PK_STD_PERSONCLASSC;

ALTER TABLE SDSADM.STD_PERSONCLASSCLASSIFICATION ADD (
  CONSTRAINT PK_STD_PERSONCLASSC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY
  DROP CONSTRAINT PK_STD_PERSONCLASSHISTORY;

ALTER TABLE SDSADM.STD_PERSONCLASSHISTORY ADD (
  CONSTRAINT PK_STD_PERSONCLASSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY
  DROP CONSTRAINT PK_STD_PERSONCLASSPTHISTORY;

ALTER TABLE SDSADM.STD_PERSONCLASSPTHISTORY ADD (
  CONSTRAINT PK_STD_PERSONCLASSPTHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE
  DROP CONSTRAINT UQSTD_PERSONCLASSPTNAME;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE ADD (
  CONSTRAINT UQSTD_PERSONCLASSPTNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE
  DROP CONSTRAINT PK_STD_PERSONCLASSPT;

ALTER TABLE SDSADM.STD_PERSONCLASSPROVIDERTYPE ADD (
  CONSTRAINT PK_STD_PERSONCLASSPT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT UQSTD_PERSONCLASSIEN;

ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT UQSTD_PERSONCLASSIEN
  UNIQUE (IEN)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT UQSTD_PERSONCLASSVACODE;

ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT UQSTD_PERSONCLASSVACODE
  UNIQUE (VACODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT UQSTD_PERSONCLASSX12CODE;

ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT UQSTD_PERSONCLASSX12CODE
  UNIQUE (X12CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT UQSTD_PERSONCLASSNUCCCODE;

ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT UQSTD_PERSONCLASSNUCCCODE
  UNIQUE (NUCCCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCLASS
  DROP CONSTRAINT PK_STD_PERSONCLASS;

ALTER TABLE SDSADM.STD_PERSONCLASS ADD (
  CONSTRAINT PK_STD_PERSONCLASS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY
  DROP CONSTRAINT PK_STD_PERSONCONTACTTYPEHSTRY;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_PERSONCONTACTTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE
  DROP CONSTRAINT UQSTD_PERSONCONTACTTYPECODE;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE ADD (
  CONSTRAINT UQSTD_PERSONCONTACTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE
  DROP CONSTRAINT UQSTD_PERSONCONTACTTYPENAME;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE ADD (
  CONSTRAINT UQSTD_PERSONCONTACTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE
  DROP CONSTRAINT PK_STD_PERSONCONTACTTYPE;

ALTER TABLE SDSADM.STD_PERSONCONTACTTYPE ADD (
  CONSTRAINT PK_STD_PERSONCONTACTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY
  DROP CONSTRAINT PK_STD_PERSONMERGESTATUSHSTRY;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUSHISTORY ADD (
  CONSTRAINT PK_STD_PERSONMERGESTATUSHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS
  DROP CONSTRAINT UQSTD_PERSONMERGESTATUSCODE;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS ADD (
  CONSTRAINT UQSTD_PERSONMERGESTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS
  DROP CONSTRAINT UQSTD_PERSONMERGESTATUSNAME;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS ADD (
  CONSTRAINT UQSTD_PERSONMERGESTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONMERGESTATUS
  DROP CONSTRAINT PK_STD_PERSONMERGESTATUS;

ALTER TABLE SDSADM.STD_PERSONMERGESTATUS ADD (
  CONSTRAINT PK_STD_PERSONMERGESTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY
  DROP CONSTRAINT PK_STD_PERSONRELATIONHISTORY;

ALTER TABLE SDSADM.STD_PERSONRELATIONHISTORY ADD (
  CONSTRAINT PK_STD_PERSONRELATIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONRELATION
  DROP CONSTRAINT UQSTD_PERSONRELATIONCODE;

ALTER TABLE SDSADM.STD_PERSONRELATION ADD (
  CONSTRAINT UQSTD_PERSONRELATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONRELATION
  DROP CONSTRAINT UQSTD_PERSONRELATIONNAME;

ALTER TABLE SDSADM.STD_PERSONRELATION ADD (
  CONSTRAINT UQSTD_PERSONRELATIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PERSONRELATION
  DROP CONSTRAINT PK_STD_PERSONRELATION;

ALTER TABLE SDSADM.STD_PERSONRELATION ADD (
  CONSTRAINT PK_STD_PERSONRELATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY
  DROP CONSTRAINT PK_STD_PHONECHANGESOURCEHSTRY;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCEHISTORY ADD (
  CONSTRAINT PK_STD_PHONECHANGESOURCEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE
  DROP CONSTRAINT UQSTD_PHONECHANGESOURCECODE;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE ADD (
  CONSTRAINT UQSTD_PHONECHANGESOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE
  DROP CONSTRAINT UQSTD_PHONECHANGESOURCENAME;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE ADD (
  CONSTRAINT UQSTD_PHONECHANGESOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECHANGESOURCE
  DROP CONSTRAINT PK_STD_PHONECHANGESOURCE;

ALTER TABLE SDSADM.STD_PHONECHANGESOURCE ADD (
  CONSTRAINT PK_STD_PHONECHANGESOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY
  DROP CONSTRAINT PK_STD_PHONECONTACTTYPEHISTORY;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_PHONECONTACTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE
  DROP CONSTRAINT UQSTD_PHONECONTACTTYPECODE;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE ADD (
  CONSTRAINT UQSTD_PHONECONTACTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE
  DROP CONSTRAINT UQSTD_PHONECONTACTTYPENAME;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE ADD (
  CONSTRAINT UQSTD_PHONECONTACTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHONECONTACTTYPE
  DROP CONSTRAINT PK_STD_PHONECONTACTTYPE;

ALTER TABLE SDSADM.STD_PHONECONTACTTYPE ADD (
  CONSTRAINT PK_STD_PHONECONTACTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY
  DROP CONSTRAINT PK_STD_PLACEOFADMISSIONHISTORY;

ALTER TABLE SDSADM.STD_PLACEOFADMISSIONHISTORY ADD (
  CONSTRAINT PK_STD_PLACEOFADMISSIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLACEOFADMISSION
  DROP CONSTRAINT UQSTD_PLACEOFADMISSIONCODE;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION ADD (
  CONSTRAINT UQSTD_PLACEOFADMISSIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLACEOFADMISSION
  DROP CONSTRAINT UQSTD_PLACEOFADMISSIONNAME;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION ADD (
  CONSTRAINT UQSTD_PLACEOFADMISSIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLACEOFADMISSION
  DROP CONSTRAINT PK_STD_PLACEOFADMISSION;

ALTER TABLE SDSADM.STD_PLACEOFADMISSION ADD (
  CONSTRAINT PK_STD_PLACEOFADMISSION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY
  DROP CONSTRAINT PK_STD_PLANCATEGORYTYPEHISTORY;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPEHISTORY ADD (
  CONSTRAINT PK_STD_PLANCATEGORYTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE
  DROP CONSTRAINT UQSTD_PLANCATEGORYTYPECODE;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE ADD (
  CONSTRAINT UQSTD_PLANCATEGORYTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE
  DROP CONSTRAINT UQSTD_PLANCATEGORYTYPENAME;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE ADD (
  CONSTRAINT UQSTD_PLANCATEGORYTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE
  DROP CONSTRAINT PK_STD_PLANCATEGORYTYPE;

ALTER TABLE SDSADM.STD_PLANCATEGORYTYPE ADD (
  CONSTRAINT PK_STD_PLANCATEGORYTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY
  DROP CONSTRAINT PK_STD_POLICYHOLDERTYPEHISTORY;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPEHISTORY ADD (
  CONSTRAINT PK_STD_POLICYHOLDERTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE
  DROP CONSTRAINT UQSTD_POLICYHOLDERTYPECODE;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE ADD (
  CONSTRAINT UQSTD_POLICYHOLDERTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE
  DROP CONSTRAINT PK_STD_POLICYHOLDERTYPE;

ALTER TABLE SDSADM.STD_POLICYHOLDERTYPE ADD (
  CONSTRAINT PK_STD_POLICYHOLDERTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY
  DROP CONSTRAINT PK_STD_PROGRAMOFSTUDYHISTORY;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDYHISTORY ADD (
  CONSTRAINT PK_STD_PROGRAMOFSTUDYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY
  DROP CONSTRAINT UQSTD_PROGRAMOFSTUDYCODE;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY ADD (
  CONSTRAINT UQSTD_PROGRAMOFSTUDYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY
  DROP CONSTRAINT UQSTD_PROGRAMOFSTUDYNAME;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY ADD (
  CONSTRAINT UQSTD_PROGRAMOFSTUDYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY
  DROP CONSTRAINT PK_STD_PROGRAMOFSTUDY;

ALTER TABLE SDSADM.STD_PROGRAMOFSTUDY ADD (
  CONSTRAINT PK_STD_PROGRAMOFSTUDY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY
  DROP CONSTRAINT PK_STD_PSEUDOSSNREASONHISTORY;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASONHISTORY ADD (
  CONSTRAINT PK_STD_PSEUDOSSNREASONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON
  DROP CONSTRAINT UQSTD_PSEUDOSSNREASONCODE;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON ADD (
  CONSTRAINT UQSTD_PSEUDOSSNREASONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON
  DROP CONSTRAINT UQSTD_PSEUDOSSNREASONNAME;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON ADD (
  CONSTRAINT UQSTD_PSEUDOSSNREASONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PSEUDOSSNREASON
  DROP CONSTRAINT PK_STD_PSEUDOSSNREASON;

ALTER TABLE SDSADM.STD_PSEUDOSSNREASON ADD (
  CONSTRAINT PK_STD_PSEUDOSSNREASON
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY
  DROP CONSTRAINT PK_STD_PUBLICATIONTOPICHISTORY;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPICHISTORY ADD (
  CONSTRAINT PK_STD_PUBLICATIONTOPICHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC
  DROP CONSTRAINT UQSTD_PUBLICATIONTOPICDATATYPE;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC ADD (
  CONSTRAINT UQSTD_PUBLICATIONTOPICDATATYPE
  UNIQUE (DATATYPE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC
  DROP CONSTRAINT PK_STD_PUBLICATIONTOPIC;

ALTER TABLE SDSADM.STD_PUBLICATIONTOPIC ADD (
  CONSTRAINT PK_STD_PUBLICATIONTOPIC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY
  DROP CONSTRAINT PK_STD_PHDATASRCTYPEHISTORY;

ALTER TABLE SDSADM.STD_PHDATASRCTYPEHISTORY ADD (
  CONSTRAINT PK_STD_PHDATASRCTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHDATASRCTYPE
  DROP CONSTRAINT UQSTD_PHDATASRCTYPECODE;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE ADD (
  CONSTRAINT UQSTD_PHDATASRCTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHDATASRCTYPE
  DROP CONSTRAINT UQSTD_PHDATASRCTYPENAME;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE ADD (
  CONSTRAINT UQSTD_PHDATASRCTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PHDATASRCTYPE
  DROP CONSTRAINT PK_STD_PHDATASRCTYPE;

ALTER TABLE SDSADM.STD_PHDATASRCTYPE ADD (
  CONSTRAINT PK_STD_PHDATASRCTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RACEHISTORY
  DROP CONSTRAINT PK_STD_RACEHISTORY;

ALTER TABLE SDSADM.STD_RACEHISTORY ADD (
  CONSTRAINT PK_STD_RACEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RACE
  DROP CONSTRAINT UQSTD_RACEHL7CODE;

ALTER TABLE SDSADM.STD_RACE ADD (
  CONSTRAINT UQSTD_RACEHL7CODE
  UNIQUE (HL7CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RACE
  DROP CONSTRAINT UQSTD_RACENAME;

ALTER TABLE SDSADM.STD_RACE ADD (
  CONSTRAINT UQSTD_RACENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RACE
  DROP CONSTRAINT PK_STD_RACE;

ALTER TABLE SDSADM.STD_RACE ADD (
  CONSTRAINT PK_STD_RACE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY
  DROP CONSTRAINT PK_STD_RADIATNEXPSRMTHDHISTORY;

ALTER TABLE SDSADM.STD_RADIATNEXPSRMTHDHISTORY ADD (
  CONSTRAINT PK_STD_RADIATNEXPSRMTHDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD
  DROP CONSTRAINT UQSTD_RADIATNEXPSRMTHDNAME;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD ADD (
  CONSTRAINT UQSTD_RADIATNEXPSRMTHDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD
  DROP CONSTRAINT PK_STD_RADIATNEXPSRMTHD;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD ADD (
  CONSTRAINT PK_STD_RADIATNEXPSRMTHD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD
  DROP CONSTRAINT UQSTD_RADIATNEXPSRMTHDCODE;

ALTER TABLE SDSADM.STD_RADIATIONEXPOSUREMETHOD ADD (
  CONSTRAINT UQSTD_RADIATNEXPSRMTHDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY
  DROP CONSTRAINT PK_STD_REGISTRYTYPEHISTORY;

ALTER TABLE SDSADM.STD_REGISTRYTYPEHISTORY ADD (
  CONSTRAINT PK_STD_REGISTRYTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REGISTRYTYPE
  DROP CONSTRAINT UQSTD_REGISTRYTYPECODE;

ALTER TABLE SDSADM.STD_REGISTRYTYPE ADD (
  CONSTRAINT UQSTD_REGISTRYTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REGISTRYTYPE
  DROP CONSTRAINT PK_STD_REGISTRYTYPE;

ALTER TABLE SDSADM.STD_REGISTRYTYPE ADD (
  CONSTRAINT PK_STD_REGISTRYTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY
  DROP CONSTRAINT PK_STD_REJECTEDREMARKSHISTORY;

ALTER TABLE SDSADM.STD_REJECTEDREMARKSHISTORY ADD (
  CONSTRAINT PK_STD_REJECTEDREMARKSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REJECTEDREMARKS
  DROP CONSTRAINT UQSTD_REJECTEDREMARKSCODE;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS ADD (
  CONSTRAINT UQSTD_REJECTEDREMARKSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REJECTEDREMARKS
  DROP CONSTRAINT UQSTD_REJECTEDREMARKSNAME;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS ADD (
  CONSTRAINT UQSTD_REJECTEDREMARKSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_REJECTEDREMARKS
  DROP CONSTRAINT PK_STD_REJECTEDREMARKS;

ALTER TABLE SDSADM.STD_REJECTEDREMARKS ADD (
  CONSTRAINT PK_STD_REJECTEDREMARKS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY
  DROP CONSTRAINT PK_STD_RELATNLCONJUNCTNHISTORY;

ALTER TABLE SDSADM.STD_RELATNLCONJUNCTNHISTORY ADD (
  CONSTRAINT PK_STD_RELATNLCONJUNCTNHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION
  DROP CONSTRAINT UQSTD_RELATNLCONJUNCTNCODE;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION ADD (
  CONSTRAINT UQSTD_RELATNLCONJUNCTNCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION
  DROP CONSTRAINT UQSTD_RELATNLCONJUNCTNNAME;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION ADD (
  CONSTRAINT UQSTD_RELATNLCONJUNCTNNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION
  DROP CONSTRAINT PK_STD_RELATNLCONJUNCTN;

ALTER TABLE SDSADM.STD_RELATIONALCONJUNCTION ADD (
  CONSTRAINT PK_STD_RELATNLCONJUNCTN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY
  DROP CONSTRAINT PK_STD_RELATNLOPERATORHISTORY;

ALTER TABLE SDSADM.STD_RELATNLOPERATORHISTORY ADD (
  CONSTRAINT PK_STD_RELATNLOPERATORHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR
  DROP CONSTRAINT UQSTD_RELATNLOPERATORCODE;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR ADD (
  CONSTRAINT UQSTD_RELATNLOPERATORCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR
  DROP CONSTRAINT UQSTD_RELATNLOPERATORNAME;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR ADD (
  CONSTRAINT UQSTD_RELATNLOPERATORNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONALOPERATOR
  DROP CONSTRAINT PK_STD_RELATNLOPERATOR;

ALTER TABLE SDSADM.STD_RELATIONALOPERATOR ADD (
  CONSTRAINT PK_STD_RELATNLOPERATOR
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY
  DROP CONSTRAINT PK_STD_RELATIONSHIPHISTORY;

ALTER TABLE SDSADM.STD_RELATIONSHIPHISTORY ADD (
  CONSTRAINT PK_STD_RELATIONSHIPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY
  DROP CONSTRAINT PK_STD_RELTOVETINSURANCEHSTRY;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCEHISTORY ADD (
  CONSTRAINT PK_STD_RELTOVETINSURANCEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE
  DROP CONSTRAINT UQSTD_RELTOVETINSURANCECODE;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE ADD (
  CONSTRAINT UQSTD_RELTOVETINSURANCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELTOVETINSURANCE
  DROP CONSTRAINT PK_STD_RELTOVETINSURANCE;

ALTER TABLE SDSADM.STD_RELTOVETINSURANCE ADD (
  CONSTRAINT PK_STD_RELTOVETINSURANCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIP
  DROP CONSTRAINT UQSTD_RELATIONSHIPCODE;

ALTER TABLE SDSADM.STD_RELATIONSHIP ADD (
  CONSTRAINT UQSTD_RELATIONSHIPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIP
  DROP CONSTRAINT UQSTD_RELATIONSHIPNAME;

ALTER TABLE SDSADM.STD_RELATIONSHIP ADD (
  CONSTRAINT UQSTD_RELATIONSHIPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELATIONSHIP
  DROP CONSTRAINT PK_STD_RELATIONSHIP;

ALTER TABLE SDSADM.STD_RELATIONSHIP ADD (
  CONSTRAINT PK_STD_RELATIONSHIP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELIGIONHISTORY
  DROP CONSTRAINT PK_STD_RELIGIONHISTORY;

ALTER TABLE SDSADM.STD_RELIGIONHISTORY ADD (
  CONSTRAINT PK_STD_RELIGIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELIGION
  DROP CONSTRAINT UQSTD_RELIGIONCODE;

ALTER TABLE SDSADM.STD_RELIGION ADD (
  CONSTRAINT UQSTD_RELIGIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELIGION
  DROP CONSTRAINT UQSTD_RELIGIONNAME;

ALTER TABLE SDSADM.STD_RELIGION ADD (
  CONSTRAINT UQSTD_RELIGIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_RELIGION
  DROP CONSTRAINT PK_STD_RELIGION;

ALTER TABLE SDSADM.STD_RELIGION ADD (
  CONSTRAINT PK_STD_RELIGION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY
  DROP CONSTRAINT PK_STD_SHADDOCUMENTTYPEHISTORY;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_SHADDOCUMENTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE
  DROP CONSTRAINT UQSTD_SHADDOCUMENTTYPECODE;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE ADD (
  CONSTRAINT UQSTD_SHADDOCUMENTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE
  DROP CONSTRAINT UQSTD_SHADDOCUMENTTYPENAME;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE ADD (
  CONSTRAINT UQSTD_SHADDOCUMENTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE
  DROP CONSTRAINT PK_STD_SHADDOCUMENTTYPE;

ALTER TABLE SDSADM.STD_SHADDOCUMENTTYPE ADD (
  CONSTRAINT PK_STD_SHADDOCUMENTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY
  DROP CONSTRAINT PK_STD_SSAMESSAGETYPEHISTORY;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPEHISTORY ADD (
  CONSTRAINT PK_STD_SSAMESSAGETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE
  DROP CONSTRAINT UQSTD_SSAMESSAGETYPECODE;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE ADD (
  CONSTRAINT UQSTD_SSAMESSAGETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE
  DROP CONSTRAINT UQSTD_SSAMESSAGETYPENAME;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE ADD (
  CONSTRAINT UQSTD_SSAMESSAGETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAMESSAGETYPE
  DROP CONSTRAINT PK_STD_SSAMESSAGETYPE;

ALTER TABLE SDSADM.STD_SSAMESSAGETYPE ADD (
  CONSTRAINT PK_STD_SSAMESSAGETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY
  DROP CONSTRAINT PK_STD_SSAVERIFCODEHISTORY;

ALTER TABLE SDSADM.STD_SSAVERIFCODEHISTORY ADD (
  CONSTRAINT PK_STD_SSAVERIFCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAVERIFCODE
  DROP CONSTRAINT UQSTD_SSAVERIFCODECODE;

ALTER TABLE SDSADM.STD_SSAVERIFCODE ADD (
  CONSTRAINT UQSTD_SSAVERIFCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAVERIFCODE
  DROP CONSTRAINT UQSTD_SSAVERIFCODENAME;

ALTER TABLE SDSADM.STD_SSAVERIFCODE ADD (
  CONSTRAINT UQSTD_SSAVERIFCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSAVERIFCODE
  DROP CONSTRAINT PK_STD_SSAVERIFCODE;

ALTER TABLE SDSADM.STD_SSAVERIFCODE ADD (
  CONSTRAINT PK_STD_SSAVERIFCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY
  DROP CONSTRAINT PK_STD_SSNCHANGESOURCEHISTORY;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCEHISTORY ADD (
  CONSTRAINT PK_STD_SSNCHANGESOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE
  DROP CONSTRAINT UQSTD_SSNCHANGESOURCECODE;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE ADD (
  CONSTRAINT UQSTD_SSNCHANGESOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE
  DROP CONSTRAINT UQSTD_SSNCHANGESOURCENAME;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE ADD (
  CONSTRAINT UQSTD_SSNCHANGESOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNCHANGESOURCE
  DROP CONSTRAINT PK_STD_SSNCHANGESOURCE;

ALTER TABLE SDSADM.STD_SSNCHANGESOURCE ADD (
  CONSTRAINT PK_STD_SSNCHANGESOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNTYPEHISTORY
  DROP CONSTRAINT PK_STD_SSNTYPEHISTORY;

ALTER TABLE SDSADM.STD_SSNTYPEHISTORY ADD (
  CONSTRAINT PK_STD_SSNTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNTYPE
  DROP CONSTRAINT UQSTD_SSNTYPECODE;

ALTER TABLE SDSADM.STD_SSNTYPE ADD (
  CONSTRAINT UQSTD_SSNTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNTYPE
  DROP CONSTRAINT UQSTD_SSNTYPENAME;

ALTER TABLE SDSADM.STD_SSNTYPE ADD (
  CONSTRAINT UQSTD_SSNTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNTYPE
  DROP CONSTRAINT PK_STD_SSNTYPE;

ALTER TABLE SDSADM.STD_SSNTYPE ADD (
  CONSTRAINT PK_STD_SSNTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY
  DROP CONSTRAINT PK_STD_SSNVERIFSTATUSHISTORY;

ALTER TABLE SDSADM.STD_SSNVERIFSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_SSNVERIFSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS
  DROP CONSTRAINT UQSTD_SSNVERIFSTATUSCODE;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS ADD (
  CONSTRAINT UQSTD_SSNVERIFSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS
  DROP CONSTRAINT UQSTD_SSNVERIFSTATUSNAME;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS ADD (
  CONSTRAINT UQSTD_SSNVERIFSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS
  DROP CONSTRAINT PK_STD_SSNVERIFSTATUS;

ALTER TABLE SDSADM.STD_SSNVERIFICATIONSTATUS ADD (
  CONSTRAINT PK_STD_SSNVERIFSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY
  DROP CONSTRAINT PK_STD_SENSITIVITYCHNGSRCHSTRY;

ALTER TABLE SDSADM.STD_SENSITIVITYCHNGSRCHISTORY ADD (
  CONSTRAINT PK_STD_SENSITIVITYCHNGSRCHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE
  DROP CONSTRAINT UQSTD_SENSITIVITYCHNGSRCCODE;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE ADD (
  CONSTRAINT UQSTD_SENSITIVITYCHNGSRCCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE
  DROP CONSTRAINT UQSTD_SENSITIVITYCHNGSRCNAME;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE ADD (
  CONSTRAINT UQSTD_SENSITIVITYCHNGSRCNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE
  DROP CONSTRAINT PK_STD_SENSITIVITYCHNGSRC;

ALTER TABLE SDSADM.STD_SENSITIVITYCHANGESOURCE ADD (
  CONSTRAINT PK_STD_SENSITIVITYCHNGSRC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY
  DROP CONSTRAINT PK_STD_SERVICEBRANCHHISTORY;

ALTER TABLE SDSADM.STD_SERVICEBRANCHHISTORY ADD (
  CONSTRAINT PK_STD_SERVICEBRANCHHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEBRANCH
  DROP CONSTRAINT UQSTD_SERVICEBRANCHCODE;

ALTER TABLE SDSADM.STD_SERVICEBRANCH ADD (
  CONSTRAINT UQSTD_SERVICEBRANCHCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEBRANCH
  DROP CONSTRAINT UQSTD_SERVICEBRANCHNAME;

ALTER TABLE SDSADM.STD_SERVICEBRANCH ADD (
  CONSTRAINT UQSTD_SERVICEBRANCHNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEBRANCH
  DROP CONSTRAINT PK_STD_SERVICEBRANCH;

ALTER TABLE SDSADM.STD_SERVICEBRANCH ADD (
  CONSTRAINT PK_STD_SERVICEBRANCH
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY
  DROP CONSTRAINT PK_STD_SVCDSCHRGCDHISTORY;

ALTER TABLE SDSADM.STD_SVCDSCHRGCDHISTORY ADD (
  CONSTRAINT PK_STD_SVCDSCHRGCDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE
  DROP CONSTRAINT UQSTD_SVCDSCHRGCDCODE;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE ADD (
  CONSTRAINT UQSTD_SVCDSCHRGCDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE
  DROP CONSTRAINT UQSTD_SVCDSCHRGCDNAME;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE ADD (
  CONSTRAINT UQSTD_SVCDSCHRGCDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE
  DROP CONSTRAINT PK_STD_SVCDSCHRGCD;

ALTER TABLE SDSADM.STD_SERVICEDISCHARGECODE ADD (
  CONSTRAINT PK_STD_SVCDSCHRGCD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICEHISTORY
  DROP CONSTRAINT PK_STD_SERVICEHISTORY;

ALTER TABLE SDSADM.STD_SERVICEHISTORY ADD (
  CONSTRAINT PK_STD_SERVICEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICE
  DROP CONSTRAINT UQSTD_SERVICENAME;

ALTER TABLE SDSADM.STD_SERVICE ADD (
  CONSTRAINT UQSTD_SERVICENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SERVICE
  DROP CONSTRAINT PK_STD_SERVICE;

ALTER TABLE SDSADM.STD_SERVICE ADD (
  CONSTRAINT PK_STD_SERVICE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY
  DROP CONSTRAINT PK_STD_SIGNATUREINDTYPEHISTORY;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPEHISTORY ADD (
  CONSTRAINT PK_STD_SIGNATUREINDTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE
  DROP CONSTRAINT UQSTD_SIGNATUREINDTYPECODE;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE ADD (
  CONSTRAINT UQSTD_SIGNATUREINDTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE
  DROP CONSTRAINT UQSTD_SIGNATUREINDTYPENAME;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE ADD (
  CONSTRAINT UQSTD_SIGNATUREINDTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE
  DROP CONSTRAINT PK_STD_SIGNATUREINDTYPE;

ALTER TABLE SDSADM.STD_SIGNATUREINDTYPE ADD (
  CONSTRAINT PK_STD_SIGNATUREINDTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY
  DROP CONSTRAINT PK_STD_SITEUPLOADSTATUSHISTORY;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_SITEUPLOADSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS
  DROP CONSTRAINT UQSTD_SITEUPLOADSTATUSCODE;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS ADD (
  CONSTRAINT UQSTD_SITEUPLOADSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS
  DROP CONSTRAINT UQSTD_SITEUPLOADSTATUSNAME;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS ADD (
  CONSTRAINT UQSTD_SITEUPLOADSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS
  DROP CONSTRAINT PK_STD_SITEUPLOADSTATUS;

ALTER TABLE SDSADM.STD_SITEUPLOADSTATUS ADD (
  CONSTRAINT PK_STD_SITEUPLOADSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY
  DROP CONSTRAINT PK_STD_SPECIALFACTORMAPHISTORY;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAPHISTORY ADD (
  CONSTRAINT PK_STD_SPECIALFACTORMAPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP
  DROP CONSTRAINT PK_STD_SPECIALFACTORMAP;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP ADD (
  CONSTRAINT PK_STD_SPECIALFACTORMAP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP
  DROP CONSTRAINT UQSTD_SPECIALFACTORMAPCODE;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP ADD (
  CONSTRAINT UQSTD_SPECIALFACTORMAPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALFACTORMAP
  DROP CONSTRAINT UQSTD_SPECIALFACTORMAPNAME;

ALTER TABLE SDSADM.STD_SPECIALFACTORMAP ADD (
  CONSTRAINT UQSTD_SPECIALFACTORMAPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY
  DROP CONSTRAINT PK_STD_SPECIALTYSERVICEHISTORY;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICEHISTORY ADD (
  CONSTRAINT PK_STD_SPECIALTYSERVICEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE
  DROP CONSTRAINT UQSTD_SPECIALTYSERVICECODE;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE ADD (
  CONSTRAINT UQSTD_SPECIALTYSERVICECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE
  DROP CONSTRAINT UQSTD_SPECIALTYSERVICENAME;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE ADD (
  CONSTRAINT UQSTD_SPECIALTYSERVICENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALTYSERVICE
  DROP CONSTRAINT PK_STD_SPECIALTYSERVICE;

ALTER TABLE SDSADM.STD_SPECIALTYSERVICE ADD (
  CONSTRAINT PK_STD_SPECIALTYSERVICE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY
  DROP CONSTRAINT PK_STD_SPINALINJURYCODEHISTORY;

ALTER TABLE SDSADM.STD_SPINALINJURYCODEHISTORY ADD (
  CONSTRAINT PK_STD_SPINALINJURYCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPINALINJURYCODE
  DROP CONSTRAINT UQSTD_SPINALINJURYCODECODE;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE ADD (
  CONSTRAINT UQSTD_SPINALINJURYCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPINALINJURYCODE
  DROP CONSTRAINT UQSTD_SPINALINJURYCODENAME;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE ADD (
  CONSTRAINT UQSTD_SPINALINJURYCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPINALINJURYCODE
  DROP CONSTRAINT PK_STD_SPINALINJURYCODE;

ALTER TABLE SDSADM.STD_SPINALINJURYCODE ADD (
  CONSTRAINT PK_STD_SPINALINJURYCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATEHISTORY
  DROP CONSTRAINT PK_STD_STATEHISTORY;

ALTER TABLE SDSADM.STD_STATEHISTORY ADD (
  CONSTRAINT PK_STD_STATEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATE
  DROP CONSTRAINT UQSTD_STATEPOSTALNAME;

ALTER TABLE SDSADM.STD_STATE ADD (
  CONSTRAINT UQSTD_STATEPOSTALNAME
  UNIQUE (POSTALNAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATE
  DROP CONSTRAINT PK_STD_STATE;

ALTER TABLE SDSADM.STD_STATE ADD (
  CONSTRAINT PK_STD_STATE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATCNTYXREF
  DROP CONSTRAINT PK_STD_STATCNTYXREF;

ALTER TABLE SDSADM.STD_STATCNTYXREF ADD (
  CONSTRAINT PK_STD_STATCNTYXREF
  PRIMARY KEY
  (COUNTY_ID, STATISTICALAREA_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY
  DROP CONSTRAINT PK_STD_STATISTICALAREAHISTORY;

ALTER TABLE SDSADM.STD_STATISTICALAREAHISTORY ADD (
  CONSTRAINT PK_STD_STATISTICALAREAHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY
  DROP CONSTRAINT PK_STD_STATISTICALAREATYPHSTRY;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPEHISTORY ADD (
  CONSTRAINT PK_STD_STATISTICALAREATYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE
  DROP CONSTRAINT UQSTD_STATISTICALAREATYPECODE;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE ADD (
  CONSTRAINT UQSTD_STATISTICALAREATYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE
  DROP CONSTRAINT UQSTD_STATISTICALAREATYPENAME;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE ADD (
  CONSTRAINT UQSTD_STATISTICALAREATYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREATYPE
  DROP CONSTRAINT PK_STD_STATISTICALAREATYPE;

ALTER TABLE SDSADM.STD_STATISTICALAREATYPE ADD (
  CONSTRAINT PK_STD_STATISTICALAREATYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREA
  DROP CONSTRAINT UQSTD_STATISTICALAREACODE;

ALTER TABLE SDSADM.STD_STATISTICALAREA ADD (
  CONSTRAINT UQSTD_STATISTICALAREACODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_STATISTICALAREA
  DROP CONSTRAINT PK_STD_STATISTICALAREA;

ALTER TABLE SDSADM.STD_STATISTICALAREA ADD (
  CONSTRAINT PK_STD_STATISTICALAREA
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TABLEMANAGER
  DROP CONSTRAINT UQSTD_TABLEMANAGERTABLENAME;

ALTER TABLE SDSADM.STD_TABLEMANAGER ADD (
  CONSTRAINT UQSTD_TABLEMANAGERTABLENAME
  UNIQUE (TABLENAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TABLEMANAGER
  DROP CONSTRAINT PK_STD_TABLEMANAGER;

ALTER TABLE SDSADM.STD_TABLEMANAGER ADD (
  CONSTRAINT PK_STD_TABLEMANAGER
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY
  DROP CONSTRAINT PK_STD_TRANSACTIONTYPEHISTORY;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPEHISTORY ADD (
  CONSTRAINT PK_STD_TRANSACTIONTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE
  DROP CONSTRAINT UQSTD_TRANSACTIONTYPECODE;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE ADD (
  CONSTRAINT UQSTD_TRANSACTIONTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE
  DROP CONSTRAINT UQSTD_TRANSACTIONTYPENAME;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE ADD (
  CONSTRAINT UQSTD_TRANSACTIONTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TRANSACTIONTYPE
  DROP CONSTRAINT PK_STD_TRANSACTIONTYPE;

ALTER TABLE SDSADM.STD_TRANSACTIONTYPE ADD (
  CONSTRAINT PK_STD_TRANSACTIONTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY
  DROP CONSTRAINT PK_STD_USERGROUPTYPEHISTORY;

ALTER TABLE SDSADM.STD_USERGROUPTYPEHISTORY ADD (
  CONSTRAINT PK_STD_USERGROUPTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_USERGROUPTYPE
  DROP CONSTRAINT UQSTD_USERGROUPTYPECODE;

ALTER TABLE SDSADM.STD_USERGROUPTYPE ADD (
  CONSTRAINT UQSTD_USERGROUPTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_USERGROUPTYPE
  DROP CONSTRAINT UQSTD_USERGROUPTYPENAME;

ALTER TABLE SDSADM.STD_USERGROUPTYPE ADD (
  CONSTRAINT UQSTD_USERGROUPTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_USERGROUPTYPE
  DROP CONSTRAINT PK_STD_USERGROUPTYPE;

ALTER TABLE SDSADM.STD_USERGROUPTYPE ADD (
  CONSTRAINT PK_STD_USERGROUPTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY
  DROP CONSTRAINT PK_STD_VBAQUERYSTATUSTYPEHSTRY;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_VBAQUERYSTATUSTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE
  DROP CONSTRAINT UQSTD_VBAQUERYSTATUSTYPECODE;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE ADD (
  CONSTRAINT UQSTD_VBAQUERYSTATUSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE
  DROP CONSTRAINT UQSTD_VBAQUERYSTATUSTYPENAME;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE ADD (
  CONSTRAINT UQSTD_VBAQUERYSTATUSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE
  DROP CONSTRAINT PK_STD_VBAQUERYSTATUSTYPE;

ALTER TABLE SDSADM.STD_VBAQUERYSTATUSTYPE ADD (
  CONSTRAINT PK_STD_VBAQUERYSTATUSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODEHISTORY
  DROP CONSTRAINT PK_STD_YESNOCODEHISTORY;

ALTER TABLE SDSADM.STD_YESNOCODEHISTORY ADD (
  CONSTRAINT PK_STD_YESNOCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODE
  DROP CONSTRAINT UQSTD_YESNOCODECODE;

ALTER TABLE SDSADM.STD_YESNOCODE ADD (
  CONSTRAINT UQSTD_YESNOCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODE
  DROP CONSTRAINT UQSTD_YESNOCODEALPHACODE;

ALTER TABLE SDSADM.STD_YESNOCODE ADD (
  CONSTRAINT UQSTD_YESNOCODEALPHACODE
  UNIQUE (ALPHACODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODE
  DROP CONSTRAINT UQSTD_YESNOCODENAME;

ALTER TABLE SDSADM.STD_YESNOCODE ADD (
  CONSTRAINT UQSTD_YESNOCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_YESNOCODE
  DROP CONSTRAINT PK_STD_YESNOCODE;

ALTER TABLE SDSADM.STD_YESNOCODE ADD (
  CONSTRAINT PK_STD_YESNOCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPASSIGNMENT
  DROP CONSTRAINT PK_STD_ZIPASSIGNMENT;

ALTER TABLE SDSADM.STD_ZIPASSIGNMENT ADD (
  CONSTRAINT PK_STD_ZIPASSIGNMENT
  PRIMARY KEY
  (ZIPCODE_ID, ZIPPLACE_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY
  DROP CONSTRAINT PK_STD_ZIPCLASSIFICATIONHSTRY;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATIONHISTORY ADD (
  CONSTRAINT PK_STD_ZIPCLASSIFICATIONHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION
  DROP CONSTRAINT UQSTD_ZIPCLASSIFICATIONCODE;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION ADD (
  CONSTRAINT UQSTD_ZIPCLASSIFICATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION
  DROP CONSTRAINT UQSTD_ZIPCLASSIFICATIONNAME;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION ADD (
  CONSTRAINT UQSTD_ZIPCLASSIFICATIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION
  DROP CONSTRAINT PK_STD_ZIPCLASSIFICATION;

ALTER TABLE SDSADM.STD_ZIPCLASSIFICATION ADD (
  CONSTRAINT PK_STD_ZIPCLASSIFICATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODEHISTORY
  DROP CONSTRAINT PK_STD_ZIPCODEHISTORY;

ALTER TABLE SDSADM.STD_ZIPCODEHISTORY ADD (
  CONSTRAINT PK_STD_ZIPCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODE
  DROP CONSTRAINT UQSTD_ZIPCODEZIPCODE;

ALTER TABLE SDSADM.STD_ZIPCODE ADD (
  CONSTRAINT UQSTD_ZIPCODEZIPCODE
  UNIQUE (ZIPCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPCODE
  DROP CONSTRAINT PK_STD_ZIPCODE;

ALTER TABLE SDSADM.STD_ZIPCODE ADD (
  CONSTRAINT PK_STD_ZIPCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY
  DROP CONSTRAINT PK_STD_ZIPPLACEFACILITYHISTORY;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITYHISTORY ADD (
  CONSTRAINT PK_STD_ZIPPLACEFACILITYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY
  DROP CONSTRAINT UQSTD_ZIPPLACEFACILITYCODE;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY ADD (
  CONSTRAINT UQSTD_ZIPPLACEFACILITYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY
  DROP CONSTRAINT UQSTD_ZIPPLACEFACILITYNAME;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY ADD (
  CONSTRAINT UQSTD_ZIPPLACEFACILITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY
  DROP CONSTRAINT PK_STD_ZIPPLACEFACILITY;

ALTER TABLE SDSADM.STD_ZIPPLACEFACILITY ADD (
  CONSTRAINT PK_STD_ZIPPLACEFACILITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY
  DROP CONSTRAINT PK_STD_ZIPPLACEHISTORY;

ALTER TABLE SDSADM.STD_ZIPPLACEHISTORY ADD (
  CONSTRAINT PK_STD_ZIPPLACEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACE
  DROP CONSTRAINT UQSTD_ZIPPLACEZIPPLACEKEY;

ALTER TABLE SDSADM.STD_ZIPPLACE ADD (
  CONSTRAINT UQSTD_ZIPPLACEZIPPLACEKEY
  UNIQUE (ZIPPLACEKEY)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPPLACE
  DROP CONSTRAINT PK_STD_ZIPPLACE;

ALTER TABLE SDSADM.STD_ZIPPLACE ADD (
  CONSTRAINT PK_STD_ZIPPLACE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY
  DROP CONSTRAINT PK_STD_ZIPTOMSAHISTORY;

ALTER TABLE SDSADM.STD_ZIPTOMSAHISTORY ADD (
  CONSTRAINT PK_STD_ZIPTOMSAHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPTOMSA
  DROP CONSTRAINT UQSTD_ZIPTOMSAZIPCODE;

ALTER TABLE SDSADM.STD_ZIPTOMSA ADD (
  CONSTRAINT UQSTD_ZIPTOMSAZIPCODE
  UNIQUE (ZIPCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ZIPTOMSA
  DROP CONSTRAINT PK_STD_ZIPTOMSA;

ALTER TABLE SDSADM.STD_ZIPTOMSA ADD (
  CONSTRAINT PK_STD_ZIPTOMSA
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATABASEVERSION
  DROP CONSTRAINT PK_STD_DATABASEVERSION;

ALTER TABLE SDSADM.STD_DATABASEVERSION ADD (
  CONSTRAINT PK_STD_DATABASEVERSION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATABASEVERSION
  DROP CONSTRAINT UQSTD_DATABASEVERSIONVRSNNMBR;

ALTER TABLE SDSADM.STD_DATABASEVERSION ADD (
  CONSTRAINT UQSTD_DATABASEVERSIONVRSNNMBR
  UNIQUE (VERSIONNUMBER)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY
  DROP CONSTRAINT PK_STD_MHDATASOURCEHISTORY;

ALTER TABLE SDSADM.STD_MHDATASOURCEHISTORY ADD (
  CONSTRAINT PK_STD_MHDATASOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MHDATASOURCE
  DROP CONSTRAINT UQSTD_MHDATASOURCECODE;

ALTER TABLE SDSADM.STD_MHDATASOURCE ADD (
  CONSTRAINT UQSTD_MHDATASOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MHDATASOURCE
  DROP CONSTRAINT UQSTD_MHDATASOURCENAME;

ALTER TABLE SDSADM.STD_MHDATASOURCE ADD (
  CONSTRAINT UQSTD_MHDATASOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MHDATASOURCE
  DROP CONSTRAINT PK_STD_MHDATASOURCE;

ALTER TABLE SDSADM.STD_MHDATASOURCE ADD (
  CONSTRAINT PK_STD_MHDATASOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY
  DROP CONSTRAINT PK_STD_MILITARYSVCQRYSTATHSTRY;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTATHISTORY ADD (
  CONSTRAINT PK_STD_MILITARYSVCQRYSTATHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT
  DROP CONSTRAINT UQSTD_MILITARYSVCQRYSTATCODE;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT ADD (
  CONSTRAINT UQSTD_MILITARYSVCQRYSTATCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT
  DROP CONSTRAINT UQSTD_MILITARYSVCQRYSTATNAME;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT ADD (
  CONSTRAINT UQSTD_MILITARYSVCQRYSTATNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT
  DROP CONSTRAINT PK_STD_MILITARYSVCQRYSTAT;

ALTER TABLE SDSADM.STD_MILITARYSVCQRYSTAT ADD (
  CONSTRAINT PK_STD_MILITARYSVCQRYSTAT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY
  DROP CONSTRAINT PK_STD_NAMEDCONTINGENCYHISTORY;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCYHISTORY ADD (
  CONSTRAINT PK_STD_NAMEDCONTINGENCYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY
  DROP CONSTRAINT UQSTD_NAMEDCONTINGENCYCODE;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY ADD (
  CONSTRAINT UQSTD_NAMEDCONTINGENCYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY
  DROP CONSTRAINT UQSTD_NAMEDCONTINGENCYNAME;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY ADD (
  CONSTRAINT UQSTD_NAMEDCONTINGENCYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY
  DROP CONSTRAINT PK_STD_NAMEDCONTINGENCY;

ALTER TABLE SDSADM.STD_NAMEDCONTINGENCY ADD (
  CONSTRAINT PK_STD_NAMEDCONTINGENCY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY
  DROP CONSTRAINT PK_STD_SPECIALOPERATIONHISTORY;

ALTER TABLE SDSADM.STD_SPECIALOPERATIONHISTORY ADD (
  CONSTRAINT PK_STD_SPECIALOPERATIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALOPERATION
  DROP CONSTRAINT PK_STD_SPECIALOPERATION;

ALTER TABLE SDSADM.STD_SPECIALOPERATION ADD (
  CONSTRAINT PK_STD_SPECIALOPERATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALOPERATION
  DROP CONSTRAINT UQSTD_SPECIALOPERATIONCODE;

ALTER TABLE SDSADM.STD_SPECIALOPERATION ADD (
  CONSTRAINT UQSTD_SPECIALOPERATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SPECIALOPERATION
  DROP CONSTRAINT UQSTD_SPECIALOPERATIONNAME;

ALTER TABLE SDSADM.STD_SPECIALOPERATION ADD (
  CONSTRAINT UQSTD_SPECIALOPERATIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY
  DROP CONSTRAINT PK_STD_TERMINATIONREASONHSTRY;

ALTER TABLE SDSADM.STD_TERMINATIONREASONHISTORY ADD (
  CONSTRAINT PK_STD_TERMINATIONREASONHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TERMINATIONREASON
  DROP CONSTRAINT PK_STD_TERMINATIONREASON;

ALTER TABLE SDSADM.STD_TERMINATIONREASON ADD (
  CONSTRAINT PK_STD_TERMINATIONREASON
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TERMINATIONREASON
  DROP CONSTRAINT UQSTD_TERMINATIONREASONCODE;

ALTER TABLE SDSADM.STD_TERMINATIONREASON ADD (
  CONSTRAINT UQSTD_TERMINATIONREASONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_TERMINATIONREASON
  DROP CONSTRAINT UQSTD_TERMINATIONREASONNAME;

ALTER TABLE SDSADM.STD_TERMINATIONREASON ADD (
  CONSTRAINT UQSTD_TERMINATIONREASONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY
  DROP CONSTRAINT PK_STD_SEEDSTATUSCODEHISTORY;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODEHISTORY ADD (
  CONSTRAINT PK_STD_SEEDSTATUSCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE
  DROP CONSTRAINT PK_STD_SEEDSTATUSCODE;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE ADD (
  CONSTRAINT PK_STD_SEEDSTATUSCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE
  DROP CONSTRAINT UQSTD_SEEDSTATUSCODECODE;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE ADD (
  CONSTRAINT UQSTD_SEEDSTATUSCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_SEEDSTATUSCODE
  DROP CONSTRAINT UQSTD_SEEDSTATUSCODENAME;

ALTER TABLE SDSADM.STD_SEEDSTATUSCODE ADD (
  CONSTRAINT UQSTD_SEEDSTATUSCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG
  DROP CONSTRAINT PK_STD_PREFFACSRCDESIG;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG ADD (
  CONSTRAINT PK_STD_PREFFACSRCDESIG
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG
  DROP CONSTRAINT UQSTD_PREFFACSRCDESIGCODE;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG ADD (
  CONSTRAINT UQSTD_PREFFACSRCDESIGCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PREFFACSRCDESIG
  DROP CONSTRAINT UQSTD_PREFFACSRCDESIGNAME;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIG ADD (
  CONSTRAINT UQSTD_PREFFACSRCDESIGNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY
  DROP CONSTRAINT PK_STD_PREFFACSRCDESIGHISTORY;

ALTER TABLE SDSADM.STD_PREFFACSRCDESIGHISTORY ADD (
  CONSTRAINT PK_STD_PREFFACSRCDESIGHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE
  DROP CONSTRAINT PK_STD_PRIMCARETMPURPCODE;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE ADD (
  CONSTRAINT PK_STD_PRIMCARETMPURPCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE
  DROP CONSTRAINT UQSTD_PRIMCARETMPURPCODECODE;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE ADD (
  CONSTRAINT UQSTD_PRIMCARETMPURPCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE
  DROP CONSTRAINT UQSTD_PRIMCARETMPURPCODENAME;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODE ADD (
  CONSTRAINT UQSTD_PRIMCARETMPURPCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY
  DROP CONSTRAINT PK_STD_PRIMCARETMPURPCODEHSTRY;

ALTER TABLE SDSADM.STD_PRIMCARETMPURPCODEHISTORY ADD (
  CONSTRAINT PK_STD_PRIMCARETMPURPCODEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSDSCOUNTRY
  DROP CONSTRAINT PK_STD_MSDSCOUNTRY;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY ADD (
  CONSTRAINT PK_STD_MSDSCOUNTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSDSCOUNTRY
  DROP CONSTRAINT UQSTD_MSDSCOUNTRYCODE;

ALTER TABLE SDSADM.STD_MSDSCOUNTRY ADD (
  CONSTRAINT UQSTD_MSDSCOUNTRYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY
  DROP CONSTRAINT PK_STD_MSDSCOUNTRYHISTORY;

ALTER TABLE SDSADM.STD_MSDSCOUNTRYHISTORY ADD (
  CONSTRAINT PK_STD_MSDSCOUNTRYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE
  DROP CONSTRAINT PK_STD_DELIVERYSRCTYPE;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE ADD (
  CONSTRAINT PK_STD_DELIVERYSRCTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE
  DROP CONSTRAINT UQSTD_DELIVERYSRCTYPECODE;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE ADD (
  CONSTRAINT UQSTD_DELIVERYSRCTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE
  DROP CONSTRAINT UQSTD_DELIVERYSRCTYPENAME;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPE ADD (
  CONSTRAINT UQSTD_DELIVERYSRCTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY
  DROP CONSTRAINT PK_STD_DELIVERYSRCTYPEHISTORY;

ALTER TABLE SDSADM.STD_DELIVERYSRCTYPEHISTORY ADD (
  CONSTRAINT PK_STD_DELIVERYSRCTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP
  DROP CONSTRAINT PK_STD_DELIVERYPREFTYP;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP ADD (
  CONSTRAINT PK_STD_DELIVERYPREFTYP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP
  DROP CONSTRAINT UQSTD_DELIVERYPREFTYPCODE;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP ADD (
  CONSTRAINT UQSTD_DELIVERYPREFTYPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYPREFTYP
  DROP CONSTRAINT UQSTD_DELIVERYPREFTYPNAME;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYP ADD (
  CONSTRAINT UQSTD_DELIVERYPREFTYPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY
  DROP CONSTRAINT PK_STD_DELIVERYPREFTYPHISTORY;

ALTER TABLE SDSADM.STD_DELIVERYPREFTYPHISTORY ADD (
  CONSTRAINT PK_STD_DELIVERYPREFTYPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODE
  DROP CONSTRAINT PK_STD_DIAGNOSISCODE;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE ADD (
  CONSTRAINT PK_STD_DIAGNOSISCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODE
  DROP CONSTRAINT UQSTD_DIAGNOSISCODECODE;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE ADD (
  CONSTRAINT UQSTD_DIAGNOSISCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODE
  DROP CONSTRAINT UQSTD_DIAGNOSISCODENAME;

ALTER TABLE SDSADM.STD_DIAGNOSISCODE ADD (
  CONSTRAINT UQSTD_DIAGNOSISCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY
  DROP CONSTRAINT PK_STD_DIAGNOSISCODEHISTORY;

ALTER TABLE SDSADM.STD_DIAGNOSISCODEHISTORY ADD (
  CONSTRAINT PK_STD_DIAGNOSISCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROCEDURECODE
  DROP CONSTRAINT PK_STD_PROCEDURECODE;

ALTER TABLE SDSADM.STD_PROCEDURECODE ADD (
  CONSTRAINT PK_STD_PROCEDURECODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROCEDURECODE
  DROP CONSTRAINT UQSTD_PROCEDURECODECODE;

ALTER TABLE SDSADM.STD_PROCEDURECODE ADD (
  CONSTRAINT UQSTD_PROCEDURECODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY
  DROP CONSTRAINT PK_STD_PROCEDURECODEHISTORY;

ALTER TABLE SDSADM.STD_PROCEDURECODEHISTORY ADD (
  CONSTRAINT PK_STD_PROCEDURECODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN
  DROP CONSTRAINT PK_STD_HEALTHBENEFITPLAN;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN ADD (
  CONSTRAINT PK_STD_HEALTHBENEFITPLAN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN
  DROP CONSTRAINT UQSTD_HEALTHBENEFITPLANCODE;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN ADD (
  CONSTRAINT UQSTD_HEALTHBENEFITPLANCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN
  DROP CONSTRAINT UQSTD_HEALTHBENEFITPLANNAME;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLAN ADD (
  CONSTRAINT UQSTD_HEALTHBENEFITPLANNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY
  DROP CONSTRAINT PK_STD_HEALTHBENEFITPLANHSTRY;

ALTER TABLE SDSADM.STD_HEALTHBENEFITPLANHISTORY ADD (
  CONSTRAINT PK_STD_HEALTHBENEFITPLANHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACHANGESOURCE
  DROP CONSTRAINT PK_STD_DATACHANGESOURCE;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE ADD (
  CONSTRAINT PK_STD_DATACHANGESOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACHANGESOURCE
  DROP CONSTRAINT UQSTD_DATACHANGESOURCECODE;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE ADD (
  CONSTRAINT UQSTD_DATACHANGESOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACHANGESOURCE
  DROP CONSTRAINT UQSTD_DATACHANGESOURCENAME;

ALTER TABLE SDSADM.STD_DATACHANGESOURCE ADD (
  CONSTRAINT UQSTD_DATACHANGESOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY
  DROP CONSTRAINT PK_STD_DATACHANGESOURCEHISTORY;

ALTER TABLE SDSADM.STD_DATACHANGESOURCEHISTORY ADD (
  CONSTRAINT PK_STD_DATACHANGESOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE
  DROP CONSTRAINT UQSTD_HL7ACKCODENAME;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE ADD (
  CONSTRAINT UQSTD_HL7ACKCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE
  DROP CONSTRAINT PK_STD_HL7ACKCODE;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE ADD (
  CONSTRAINT PK_STD_HL7ACKCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE
  DROP CONSTRAINT UQSTD_HL7ACKCODECODE;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTCODE ADD (
  CONSTRAINT UQSTD_HL7ACKCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT PK_STD_INST;

ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT PK_STD_INST
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTION
  DROP CONSTRAINT UQSTD_INSTSTATIONNUMBER;

ALTER TABLE SDSADM.STD_INSTITUTION ADD (
  CONSTRAINT UQSTD_INSTSTATIONNUMBER
  UNIQUE (STATIONNUMBER)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGESTATUS
  DROP CONSTRAINT PK_STD_MESSAGESTATUS;

ALTER TABLE SDSADM.STD_MESSAGESTATUS ADD (
  CONSTRAINT PK_STD_MESSAGESTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGESTATUS
  DROP CONSTRAINT UQSTD_MESSAGESTATUSCODE;

ALTER TABLE SDSADM.STD_MESSAGESTATUS ADD (
  CONSTRAINT UQSTD_MESSAGESTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGESTATUS
  DROP CONSTRAINT UQSTD_MESSAGESTATUSNAME;

ALTER TABLE SDSADM.STD_MESSAGESTATUS ADD (
  CONSTRAINT UQSTD_MESSAGESTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPE
  DROP CONSTRAINT PK_STD_MESSAGETYPE;

ALTER TABLE SDSADM.STD_MESSAGETYPE ADD (
  CONSTRAINT PK_STD_MESSAGETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPE
  DROP CONSTRAINT UQSTD_MESSAGETYPECODE;

ALTER TABLE SDSADM.STD_MESSAGETYPE ADD (
  CONSTRAINT UQSTD_MESSAGETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPE
  DROP CONSTRAINT UQSTD_MESSAGETYPENAME;

ALTER TABLE SDSADM.STD_MESSAGETYPE ADD (
  CONSTRAINT UQSTD_MESSAGETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY
  DROP CONSTRAINT PK_STD_ADDRESSCHANGESRCHSTRY;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCEHISTORY ADD (
  CONSTRAINT PK_STD_ADDRESSCHANGESRCHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE
  DROP CONSTRAINT UQSTD_ADDRESSCHANGESOURCECODE;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE ADD (
  CONSTRAINT UQSTD_ADDRESSCHANGESOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE
  DROP CONSTRAINT UQSTD_ADDRESSCHANGESOURCENAME;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE ADD (
  CONSTRAINT UQSTD_ADDRESSCHANGESOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE
  DROP CONSTRAINT PK_STD_ADDRESSCHANGESOURCE;

ALTER TABLE SDSADM.STD_ADDRESSCHANGESOURCE ADD (
  CONSTRAINT PK_STD_ADDRESSCHANGESOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY
  DROP CONSTRAINT PK_STD_ADRSDLVRYFLRCDHISTORY;

ALTER TABLE SDSADM.STD_ADRSDLVRYFLRCDHISTORY ADD (
  CONSTRAINT PK_STD_ADRSDLVRYFLRCDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE
  DROP CONSTRAINT UQSTD_ADRSDLVRYFLRCDCODE;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE ADD (
  CONSTRAINT UQSTD_ADRSDLVRYFLRCDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE
  DROP CONSTRAINT UQSTD_ADRSDLVRYFLRCDNAME;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE ADD (
  CONSTRAINT UQSTD_ADRSDLVRYFLRCDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE
  DROP CONSTRAINT PK_STD_ADRSDLVRYFLRCD;

ALTER TABLE SDSADM.STD_ADDRESSDELIVERYFAILURECODE ADD (
  CONSTRAINT PK_STD_ADRSDLVRYFLRCD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY
  DROP CONSTRAINT PK_STD_ADRSINVALRSNHISTORY;

ALTER TABLE SDSADM.STD_ADRSINVALRSNHISTORY ADD (
  CONSTRAINT PK_STD_ADRSINVALRSNHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON
  DROP CONSTRAINT UQSTD_ADRSINVALRSNCODE;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON ADD (
  CONSTRAINT UQSTD_ADRSINVALRSNCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON
  DROP CONSTRAINT UQSTD_ADRSINVALRSNNAME;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON ADD (
  CONSTRAINT UQSTD_ADRSINVALRSNNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON
  DROP CONSTRAINT PK_STD_ADRSINVALRSN;

ALTER TABLE SDSADM.STD_ADDRESSINVALIDREASON ADD (
  CONSTRAINT PK_STD_ADRSINVALRSN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY
  DROP CONSTRAINT PK_STD_ADDRESSTYPEHISTORY;

ALTER TABLE SDSADM.STD_ADDRESSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_ADDRESSTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSTYPE
  DROP CONSTRAINT UQSTD_ADDRESSTYPECODE;

ALTER TABLE SDSADM.STD_ADDRESSTYPE ADD (
  CONSTRAINT UQSTD_ADDRESSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSTYPE
  DROP CONSTRAINT UQSTD_ADDRESSTYPENAME;

ALTER TABLE SDSADM.STD_ADDRESSTYPE ADD (
  CONSTRAINT UQSTD_ADDRESSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADDRESSTYPE
  DROP CONSTRAINT PK_STD_ADDRESSTYPE;

ALTER TABLE SDSADM.STD_ADDRESSTYPE ADD (
  CONSTRAINT PK_STD_ADDRESSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT UQSTD_AEAGENCY;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT UQSTD_AEAGENCY
  UNIQUE (AGENCY_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT UQSTD_AEINSTITUTION;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT UQSTD_AEINSTITUTION
  UNIQUE (INSTITUTION_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY
  DROP CONSTRAINT PK_STD_AE;

ALTER TABLE SDSADM.STD_ADMINISTRATIVEENTITY ADD (
  CONSTRAINT PK_STD_AE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY
  DROP CONSTRAINT PK_STD_AFFECTEDEXTREMITYHSTRY;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITYHISTORY ADD (
  CONSTRAINT PK_STD_AFFECTEDEXTREMITYHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY
  DROP CONSTRAINT UQSTD_AFFECTEDEXTREMITYCODE;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY ADD (
  CONSTRAINT UQSTD_AFFECTEDEXTREMITYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY
  DROP CONSTRAINT UQSTD_AFFECTEDEXTREMITYNAME;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY ADD (
  CONSTRAINT UQSTD_AFFECTEDEXTREMITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY
  DROP CONSTRAINT PK_STD_AFFECTEDEXTREMITY;

ALTER TABLE SDSADM.STD_AFFECTEDEXTREMITY ADD (
  CONSTRAINT PK_STD_AFFECTEDEXTREMITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENCYHISTORY
  DROP CONSTRAINT PK_STD_AGENCYHISTORY;

ALTER TABLE SDSADM.STD_AGENCYHISTORY ADD (
  CONSTRAINT PK_STD_AGENCYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENCY
  DROP CONSTRAINT UQSTD_AGENCYCODE;

ALTER TABLE SDSADM.STD_AGENCY ADD (
  CONSTRAINT UQSTD_AGENCYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENCY
  DROP CONSTRAINT UQSTD_AGENCYNAME;

ALTER TABLE SDSADM.STD_AGENCY ADD (
  CONSTRAINT UQSTD_AGENCYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENCY
  DROP CONSTRAINT PK_STD_AGENCY;

ALTER TABLE SDSADM.STD_AGENCY ADD (
  CONSTRAINT PK_STD_AGENCY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY
  DROP CONSTRAINT PK_STD_AGENTORANGELOCNHISTORY;

ALTER TABLE SDSADM.STD_AGENTORANGELOCNHISTORY ADD (
  CONSTRAINT PK_STD_AGENTORANGELOCNHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION
  DROP CONSTRAINT UQSTD_AGENTORANGELOCNCODE;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION ADD (
  CONSTRAINT UQSTD_AGENTORANGELOCNCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION
  DROP CONSTRAINT UQSTD_AGENTORANGELOCNNAME;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION ADD (
  CONSTRAINT UQSTD_AGENTORANGELOCNNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_AGENTORANGELOCATION
  DROP CONSTRAINT PK_STD_AGENTORANGELOCN;

ALTER TABLE SDSADM.STD_AGENTORANGELOCATION ADD (
  CONSTRAINT PK_STD_AGENTORANGELOCN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY
  DROP CONSTRAINT PK_STD_ALLIEDCOUNTRYHISTORY;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRYHISTORY ADD (
  CONSTRAINT PK_STD_ALLIEDCOUNTRYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY
  DROP CONSTRAINT UQSTD_ALLIEDCOUNTRYCODE;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY ADD (
  CONSTRAINT UQSTD_ALLIEDCOUNTRYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY
  DROP CONSTRAINT UQSTD_ALLIEDCOUNTRYNAME;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY ADD (
  CONSTRAINT UQSTD_ALLIEDCOUNTRYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY
  DROP CONSTRAINT PK_STD_ALLIEDCOUNTRY;

ALTER TABLE SDSADM.STD_ALLIEDCOUNTRY ADD (
  CONSTRAINT PK_STD_ALLIEDCOUNTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATIONHISTORY
  DROP CONSTRAINT PK_STD_APPLICATIONHISTORY;

ALTER TABLE SDSADM.STD_APPLICATIONHISTORY ADD (
  CONSTRAINT PK_STD_APPLICATIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_APPLICATION
  DROP CONSTRAINT PK_STD_APPLICATION;

ALTER TABLE SDSADM.STD_APPLICATION ADD (
  CONSTRAINT PK_STD_APPLICATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY
  DROP CONSTRAINT PK_STD_ASSETTYPEHISTORY;

ALTER TABLE SDSADM.STD_ASSETTYPEHISTORY ADD (
  CONSTRAINT PK_STD_ASSETTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSETTYPE
  DROP CONSTRAINT UQSTD_ASSETTYPECODE;

ALTER TABLE SDSADM.STD_ASSETTYPE ADD (
  CONSTRAINT UQSTD_ASSETTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSETTYPE
  DROP CONSTRAINT UQSTD_ASSETTYPENAME;

ALTER TABLE SDSADM.STD_ASSETTYPE ADD (
  CONSTRAINT UQSTD_ASSETTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSETTYPE
  DROP CONSTRAINT PK_STD_ASSETTYPE;

ALTER TABLE SDSADM.STD_ASSETTYPE ADD (
  CONSTRAINT PK_STD_ASSETTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY
  DROP CONSTRAINT PK_STD_ASSIGNINGAUTHORITYHSTRY;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITYHISTORY ADD (
  CONSTRAINT PK_STD_ASSIGNINGAUTHORITYHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY
  DROP CONSTRAINT UQSTD_ASSIGNINGAUTHORITYCODE;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY ADD (
  CONSTRAINT UQSTD_ASSIGNINGAUTHORITYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY
  DROP CONSTRAINT UQSTD_ASSIGNINGAUTHORITYNAME;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY ADD (
  CONSTRAINT UQSTD_ASSIGNINGAUTHORITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY
  DROP CONSTRAINT PK_STD_ASSIGNINGAUTHORITY;

ALTER TABLE SDSADM.STD_ASSIGNINGAUTHORITY ADD (
  CONSTRAINT PK_STD_ASSIGNINGAUTHORITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY
  DROP CONSTRAINT PK_STD_BENEFITSCOORDTYPEHSTRY;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPEHISTORY ADD (
  CONSTRAINT PK_STD_BENEFITSCOORDTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE
  DROP CONSTRAINT UQSTD_BENEFITSCOORDTYPECODE;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE ADD (
  CONSTRAINT UQSTD_BENEFITSCOORDTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE
  DROP CONSTRAINT UQSTD_BENEFITSCOORDTYPENAME;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE ADD (
  CONSTRAINT UQSTD_BENEFITSCOORDTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE
  DROP CONSTRAINT PK_STD_BENEFITSCOORDTYPE;

ALTER TABLE SDSADM.STD_BENEFITSCOORDTYPE ADD (
  CONSTRAINT PK_STD_BENEFITSCOORDTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY
  DROP CONSTRAINT PK_STD_CANCELDECLINEHISTORY;

ALTER TABLE SDSADM.STD_CANCELDECLINEHISTORY ADD (
  CONSTRAINT PK_STD_CANCELDECLINEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON
  DROP CONSTRAINT UQSTD_CANCELDECLINECODE;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON ADD (
  CONSTRAINT UQSTD_CANCELDECLINECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON
  DROP CONSTRAINT UQSTD_CANCELDECLINENAME;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON ADD (
  CONSTRAINT UQSTD_CANCELDECLINENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINEREASON
  DROP CONSTRAINT PK_STD_CANCELDECLINE;

ALTER TABLE SDSADM.STD_CANCELDECLINEREASON ADD (
  CONSTRAINT PK_STD_CANCELDECLINE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY
  DROP CONSTRAINT PK_STD_CANCELDECLINESTTYPHSTRY;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYPHISTORY ADD (
  CONSTRAINT PK_STD_CANCELDECLINESTTYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP
  DROP CONSTRAINT UQSTD_CANCELDECLINESTTYPCODE;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP ADD (
  CONSTRAINT UQSTD_CANCELDECLINESTTYPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP
  DROP CONSTRAINT PK_STD_CANCELDECLINESTTYP;

ALTER TABLE SDSADM.STD_CANCELDECLINESTTYP ADD (
  CONSTRAINT PK_STD_CANCELDECLINESTTYP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY
  DROP CONSTRAINT PK_STD_CATADSBLTYEXTCDHSTRY;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCDHISTORY ADD (
  CONSTRAINT PK_STD_CATADSBLTYEXTCDHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD
  DROP CONSTRAINT UQSTD_CATADISABILITYEXTCDCODE;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD ADD (
  CONSTRAINT UQSTD_CATADISABILITYEXTCDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD
  DROP CONSTRAINT UQSTD_CATADISABILITYEXTCDNAME;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD ADD (
  CONSTRAINT UQSTD_CATADISABILITYEXTCDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD
  DROP CONSTRAINT PK_STD_CATADISABILITYEXTCD;

ALTER TABLE SDSADM.STD_CATADISABILITYEXTCD ADD (
  CONSTRAINT PK_STD_CATADISABILITYEXTCD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY
  DROP CONSTRAINT PK_STD_CLINDETERTYPEHISTORY;

ALTER TABLE SDSADM.STD_CLINDETERTYPEHISTORY ADD (
  CONSTRAINT PK_STD_CLINDETERTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CLINDETERTYPE
  DROP CONSTRAINT UQSTD_CLINDETERTYPECODE;

ALTER TABLE SDSADM.STD_CLINDETERTYPE ADD (
  CONSTRAINT UQSTD_CLINDETERTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CLINDETERTYPE
  DROP CONSTRAINT UQSTD_CLINDETERTYPENAME;

ALTER TABLE SDSADM.STD_CLINDETERTYPE ADD (
  CONSTRAINT UQSTD_CLINDETERTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CLINDETERTYPE
  DROP CONSTRAINT PK_STD_CLINDETERTYPE;

ALTER TABLE SDSADM.STD_CLINDETERTYPE ADD (
  CONSTRAINT PK_STD_CLINDETERTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODESET
  DROP CONSTRAINT UQSTD_CODESETNAME;

ALTER TABLE SDSADM.STD_CODESET ADD (
  CONSTRAINT UQSTD_CODESETNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODESET
  DROP CONSTRAINT UQSTD_CODESETCLASSNAME;

ALTER TABLE SDSADM.STD_CODESET ADD (
  CONSTRAINT UQSTD_CODESETCLASSNAME
  UNIQUE (CLASSNAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODESET
  DROP CONSTRAINT UQSTD_CODESETTABLENAME;

ALTER TABLE SDSADM.STD_CODESET ADD (
  CONSTRAINT UQSTD_CODESETTABLENAME
  UNIQUE (TABLENAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODESET
  DROP CONSTRAINT PK_STD_CODESET;

ALTER TABLE SDSADM.STD_CODESET ADD (
  CONSTRAINT PK_STD_CODESET
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY
  DROP CONSTRAINT PK_STD_CODINGSYSTEMHISTORY;

ALTER TABLE SDSADM.STD_CODINGSYSTEMHISTORY ADD (
  CONSTRAINT PK_STD_CODINGSYSTEMHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODINGSYSTEM
  DROP CONSTRAINT UQSTD_CODINGSYSTEMCODE;

ALTER TABLE SDSADM.STD_CODINGSYSTEM ADD (
  CONSTRAINT UQSTD_CODINGSYSTEMCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODINGSYSTEM
  DROP CONSTRAINT UQSTD_CODINGSYSTEMNAME;

ALTER TABLE SDSADM.STD_CODINGSYSTEM ADD (
  CONSTRAINT UQSTD_CODINGSYSTEMNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CODINGSYSTEM
  DROP CONSTRAINT PK_STD_CODINGSYSTEM;

ALTER TABLE SDSADM.STD_CODINGSYSTEM ADD (
  CONSTRAINT PK_STD_CODINGSYSTEM
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COLLECTIONHISTORY
  DROP CONSTRAINT PK_STD_COLLECTIONHISTORY;

ALTER TABLE SDSADM.STD_COLLECTIONHISTORY ADD (
  CONSTRAINT PK_STD_COLLECTIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD
  DROP CONSTRAINT UQSTD_COLLECTIONHL7CODE;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD ADD (
  CONSTRAINT UQSTD_COLLECTIONHL7CODE
  UNIQUE (HL7CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD
  DROP CONSTRAINT UQSTD_COLLECTIONNAME;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD ADD (
  CONSTRAINT UQSTD_COLLECTIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COLLECTIONMETHOD
  DROP CONSTRAINT PK_STD_COLLECTION;

ALTER TABLE SDSADM.STD_COLLECTIONMETHOD ADD (
  CONSTRAINT PK_STD_COLLECTION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY
  DROP CONSTRAINT PK_STD_COMBATLOCATIONHISTORY;

ALTER TABLE SDSADM.STD_COMBATLOCATIONHISTORY ADD (
  CONSTRAINT PK_STD_COMBATLOCATIONHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATLOCATION
  DROP CONSTRAINT UQSTD_COMBATLOCATIONCODE;

ALTER TABLE SDSADM.STD_COMBATLOCATION ADD (
  CONSTRAINT UQSTD_COMBATLOCATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATLOCATION
  DROP CONSTRAINT UQSTD_COMBATLOCATIONNAME;

ALTER TABLE SDSADM.STD_COMBATLOCATION ADD (
  CONSTRAINT UQSTD_COMBATLOCATIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATLOCATION
  DROP CONSTRAINT PK_STD_COMBATLOCATION;

ALTER TABLE SDSADM.STD_COMBATLOCATION ADD (
  CONSTRAINT PK_STD_COMBATLOCATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY
  DROP CONSTRAINT PK_STD_COMBATPAYTYPEHISTORY;

ALTER TABLE SDSADM.STD_COMBATPAYTYPEHISTORY ADD (
  CONSTRAINT PK_STD_COMBATPAYTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATPAYTYPE
  DROP CONSTRAINT UQSTD_COMBATPAYTYPECODE;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE ADD (
  CONSTRAINT UQSTD_COMBATPAYTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATPAYTYPE
  DROP CONSTRAINT UQSTD_COMBATPAYTYPENAME;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE ADD (
  CONSTRAINT UQSTD_COMBATPAYTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATPAYTYPE
  DROP CONSTRAINT PK_STD_COMBATPAYTYPE;

ALTER TABLE SDSADM.STD_COMBATPAYTYPE ADD (
  CONSTRAINT PK_STD_COMBATPAYTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY
  DROP CONSTRAINT PK_STD_COMBATSVCLOCATIONHSTRY;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATIONHISTORY ADD (
  CONSTRAINT PK_STD_COMBATSVCLOCATIONHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION
  DROP CONSTRAINT UQSTD_COMBATSVCLOCATIONCODE;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION ADD (
  CONSTRAINT UQSTD_COMBATSVCLOCATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCLOCATION
  DROP CONSTRAINT PK_STD_COMBATSVCLOCATION;

ALTER TABLE SDSADM.STD_COMBATSVCLOCATION ADD (
  CONSTRAINT PK_STD_COMBATSVCLOCATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY
  DROP CONSTRAINT PK_STD_COMBATSVCSOURCEHISTORY;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCEHISTORY ADD (
  CONSTRAINT PK_STD_COMBATSVCSOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE
  DROP CONSTRAINT UQSTD_COMBATSVCSOURCECODE;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE ADD (
  CONSTRAINT UQSTD_COMBATSVCSOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE
  DROP CONSTRAINT UQSTD_COMBATSVCSOURCENAME;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE ADD (
  CONSTRAINT UQSTD_COMBATSVCSOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COMBATSVCSOURCE
  DROP CONSTRAINT PK_STD_COMBATSVCSOURCE;

ALTER TABLE SDSADM.STD_COMBATSVCSOURCE ADD (
  CONSTRAINT PK_STD_COMBATSVCSOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY
  DROP CONSTRAINT PK_STD_CONDITIONCODEHISTORY;

ALTER TABLE SDSADM.STD_CONDITIONCODEHISTORY ADD (
  CONSTRAINT PK_STD_CONDITIONCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONDITIONCODE
  DROP CONSTRAINT UQSTD_CONDITIONCODECODE;

ALTER TABLE SDSADM.STD_CONDITIONCODE ADD (
  CONSTRAINT UQSTD_CONDITIONCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONDITIONCODE
  DROP CONSTRAINT UQSTD_CONDITIONCODENAME;

ALTER TABLE SDSADM.STD_CONDITIONCODE ADD (
  CONSTRAINT UQSTD_CONDITIONCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONDITIONCODE
  DROP CONSTRAINT PK_STD_CONDITIONCODE;

ALTER TABLE SDSADM.STD_CONDITIONCODE ADD (
  CONSTRAINT PK_STD_CONDITIONCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY
  DROP CONSTRAINT PK_STD_CONFADDRCATHISTORY;

ALTER TABLE SDSADM.STD_CONFADDRCATHISTORY ADD (
  CONSTRAINT PK_STD_CONFADDRCATHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT
  DROP CONSTRAINT UQSTD_CONFADDRCATCODE;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT ADD (
  CONSTRAINT UQSTD_CONFADDRCATCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT
  DROP CONSTRAINT UQSTD_CONFADDRCATNAME;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT ADD (
  CONSTRAINT UQSTD_CONFADDRCATNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT
  DROP CONSTRAINT UQSTD_CONFADDRCATHL7VALUE;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT ADD (
  CONSTRAINT UQSTD_CONFADDRCATHL7VALUE
  UNIQUE (HL7VALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT
  DROP CONSTRAINT PK_STD_CONFADDRCAT;

ALTER TABLE SDSADM.STD_CONFIDENTIALADDRESSCAT ADD (
  CONSTRAINT PK_STD_CONFADDRCAT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRYHISTORY
  DROP CONSTRAINT PK_STD_COUNTRYHISTORY;

ALTER TABLE SDSADM.STD_COUNTRYHISTORY ADD (
  CONSTRAINT PK_STD_COUNTRYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRY
  DROP CONSTRAINT UQSTD_COUNTRYNUMERICCODE;

ALTER TABLE SDSADM.STD_COUNTRY ADD (
  CONSTRAINT UQSTD_COUNTRYNUMERICCODE
  UNIQUE (NUMERICCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRY
  DROP CONSTRAINT UQSTD_COUNTRYALPHA3CODE;

ALTER TABLE SDSADM.STD_COUNTRY ADD (
  CONSTRAINT UQSTD_COUNTRYALPHA3CODE
  UNIQUE (ALPHA3CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRY
  DROP CONSTRAINT UQSTD_COUNTRYFIPSCODE;

ALTER TABLE SDSADM.STD_COUNTRY ADD (
  CONSTRAINT UQSTD_COUNTRYFIPSCODE
  UNIQUE (FIPSCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTRY
  DROP CONSTRAINT PK_STD_COUNTRY;

ALTER TABLE SDSADM.STD_COUNTRY ADD (
  CONSTRAINT PK_STD_COUNTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTYHISTORY
  DROP CONSTRAINT PK_STD_COUNTYHISTORY;

ALTER TABLE SDSADM.STD_COUNTYHISTORY ADD (
  CONSTRAINT PK_STD_COUNTYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_COUNTY
  DROP CONSTRAINT PK_STD_COUNTY;

ALTER TABLE SDSADM.STD_COUNTY ADD (
  CONSTRAINT PK_STD_COUNTY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY
  DROP CONSTRAINT PK_STD_DATACOLLECTJOBTYPEHSTRY;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPEHISTORY ADD (
  CONSTRAINT PK_STD_DATACOLLECTJOBTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE
  DROP CONSTRAINT UQSTD_DATACOLLECTJOBTYPECODE;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE ADD (
  CONSTRAINT UQSTD_DATACOLLECTJOBTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE
  DROP CONSTRAINT UQSTD_DATACOLLECTJOBTYPENAME;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE ADD (
  CONSTRAINT UQSTD_DATACOLLECTJOBTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE
  DROP CONSTRAINT PK_STD_DATACOLLECTJOBTYPE;

ALTER TABLE SDSADM.STD_DATACOLLECTJOBTYPE ADD (
  CONSTRAINT PK_STD_DATACOLLECTJOBTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY
  DROP CONSTRAINT PK_STD_DEATHNOTIFICATIONHSTRY;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATIONHISTORY ADD (
  CONSTRAINT PK_STD_DEATHNOTIFICATIONHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION
  DROP CONSTRAINT UQSTD_DEATHNOTIFICATIONCODE;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION ADD (
  CONSTRAINT UQSTD_DEATHNOTIFICATIONCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION
  DROP CONSTRAINT UQSTD_DEATHNOTIFICATIONNAME;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION ADD (
  CONSTRAINT UQSTD_DEATHNOTIFICATIONNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEATHNOTIFICATION
  DROP CONSTRAINT PK_STD_DEATHNOTIFICATION;

ALTER TABLE SDSADM.STD_DEATHNOTIFICATION ADD (
  CONSTRAINT PK_STD_DEATHNOTIFICATION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY
  DROP CONSTRAINT PK_STD_DECORATNDOCTYPHISTORY;

ALTER TABLE SDSADM.STD_DECORATNDOCTYPHISTORY ADD (
  CONSTRAINT PK_STD_DECORATNDOCTYPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE
  DROP CONSTRAINT UQSTD_DECORATNDOCTYPCODE;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE ADD (
  CONSTRAINT UQSTD_DECORATNDOCTYPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE
  DROP CONSTRAINT UQSTD_DECORATNDOCTYPNAME;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE ADD (
  CONSTRAINT UQSTD_DECORATNDOCTYPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE
  DROP CONSTRAINT PK_STD_DECORATNDOCTYP;

ALTER TABLE SDSADM.STD_DECORATIONDOCUMENTTYPE ADD (
  CONSTRAINT PK_STD_DECORATNDOCTYP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY
  DROP CONSTRAINT PK_STD_DECORATIONSTATUSHISTORY;

ALTER TABLE SDSADM.STD_DECORATIONSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_DECORATIONSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONSTATUS
  DROP CONSTRAINT UQSTD_DECORATIONSTATUSCODE;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS ADD (
  CONSTRAINT UQSTD_DECORATIONSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONSTATUS
  DROP CONSTRAINT UQSTD_DECORATIONSTATUSNAME;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS ADD (
  CONSTRAINT UQSTD_DECORATIONSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONSTATUS
  DROP CONSTRAINT PK_STD_DECORATIONSTATUS;

ALTER TABLE SDSADM.STD_DECORATIONSTATUS ADD (
  CONSTRAINT PK_STD_DECORATIONSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY
  DROP CONSTRAINT PK_STD_DECORATIONTYPEHISTORY;

ALTER TABLE SDSADM.STD_DECORATIONTYPEHISTORY ADD (
  CONSTRAINT PK_STD_DECORATIONTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONTYPE
  DROP CONSTRAINT UQSTD_DECORATIONTYPECODE;

ALTER TABLE SDSADM.STD_DECORATIONTYPE ADD (
  CONSTRAINT UQSTD_DECORATIONTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONTYPE
  DROP CONSTRAINT UQSTD_DECORATIONTYPENAME;

ALTER TABLE SDSADM.STD_DECORATIONTYPE ADD (
  CONSTRAINT UQSTD_DECORATIONTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DECORATIONTYPE
  DROP CONSTRAINT PK_STD_DECORATIONTYPE;

ALTER TABLE SDSADM.STD_DECORATIONTYPE ADD (
  CONSTRAINT PK_STD_DECORATIONTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEGREEHISTORY
  DROP CONSTRAINT PK_STD_DEGREEHISTORY;

ALTER TABLE SDSADM.STD_DEGREEHISTORY ADD (
  CONSTRAINT PK_STD_DEGREEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEGREE
  DROP CONSTRAINT UQSTD_DEGREECODE;

ALTER TABLE SDSADM.STD_DEGREE ADD (
  CONSTRAINT UQSTD_DEGREECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEGREE
  DROP CONSTRAINT UQSTD_DEGREENAME;

ALTER TABLE SDSADM.STD_DEGREE ADD (
  CONSTRAINT UQSTD_DEGREENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DEGREE
  DROP CONSTRAINT PK_STD_DEGREE;

ALTER TABLE SDSADM.STD_DEGREE ADD (
  CONSTRAINT PK_STD_DEGREE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY
  DROP CONSTRAINT PK_STD_DETAILEDINCFINDOCHSTRY;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOCHISTORY ADD (
  CONSTRAINT PK_STD_DETAILEDINCFINDOCHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC
  DROP CONSTRAINT PK_STD_DETAILEDINCFINDOC;

ALTER TABLE SDSADM.STD_DETAILEDINCFINDOC ADD (
  CONSTRAINT PK_STD_DETAILEDINCFINDOC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY
  DROP CONSTRAINT PK_STD_DETAILEDINCOMETYPEHSTRY;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPEHISTORY ADD (
  CONSTRAINT PK_STD_DETAILEDINCOMETYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE
  DROP CONSTRAINT UQSTD_DETAILEDINCOMETYPECODE;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE ADD (
  CONSTRAINT UQSTD_DETAILEDINCOMETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE
  DROP CONSTRAINT UQSTD_DETAILEDINCOMETYPENAME;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE ADD (
  CONSTRAINT UQSTD_DETAILEDINCOMETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE
  DROP CONSTRAINT PK_STD_DETAILEDINCOMETYPE;

ALTER TABLE SDSADM.STD_DETAILEDINCOMETYPE ADD (
  CONSTRAINT PK_STD_DETAILEDINCOMETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY
  DROP CONSTRAINT PK_STD_DIAGNOSISCODSCHHISTORY;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCHHISTORY ADD (
  CONSTRAINT PK_STD_DIAGNOSISCODSCHHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH
  DROP CONSTRAINT UQSTD_DIAGNOSISCODSCHCODE;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH ADD (
  CONSTRAINT UQSTD_DIAGNOSISCODSCHCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH
  DROP CONSTRAINT UQSTD_DIAGNOSISCODSCHNAME;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH ADD (
  CONSTRAINT UQSTD_DIAGNOSISCODSCHNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH
  DROP CONSTRAINT PK_STD_DIAGNOSISCODSCH;

ALTER TABLE SDSADM.STD_DIAGNOSISCODSCH ADD (
  CONSTRAINT PK_STD_DIAGNOSISCODSCH
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY
  DROP CONSTRAINT PK_STD_DIAGNOSISTYPEHISTORY;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPEHISTORY ADD (
  CONSTRAINT PK_STD_DIAGNOSISTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE
  DROP CONSTRAINT UQSTD_DIAGNOSISTYPECODE;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE ADD (
  CONSTRAINT UQSTD_DIAGNOSISTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE
  DROP CONSTRAINT UQSTD_DIAGNOSISTYPENAME;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE ADD (
  CONSTRAINT UQSTD_DIAGNOSISTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DIAGNOSISTYPE
  DROP CONSTRAINT PK_STD_DIAGNOSISTYPE;

ALTER TABLE SDSADM.STD_DIAGNOSISTYPE ADD (
  CONSTRAINT PK_STD_DIAGNOSISTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY
  DROP CONSTRAINT PK_STD_DISABILITYCNDTNHSTRY;

ALTER TABLE SDSADM.STD_DISABILITYCONDITIONHISTORY ADD (
  CONSTRAINT PK_STD_DISABILITYCNDTNHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISABILITYCONDITION
  DROP CONSTRAINT UQSTD_DISABILITYCONDITIONIEN;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION ADD (
  CONSTRAINT UQSTD_DISABILITYCONDITIONIEN
  UNIQUE (IEN)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISABILITYCONDITION
  DROP CONSTRAINT UQSTD_DISABILITYCONDITIONDXCD;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION ADD (
  CONSTRAINT UQSTD_DISABILITYCONDITIONDXCD
  UNIQUE (DXCODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISABILITYCONDITION
  DROP CONSTRAINT PK_STD_DISABILITYCONDITION;

ALTER TABLE SDSADM.STD_DISABILITYCONDITION ADD (
  CONSTRAINT PK_STD_DISABILITYCONDITION
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY
  DROP CONSTRAINT PK_STD_EGTPROCESSSTATUSHISTORY;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_EGTPROCESSSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS
  DROP CONSTRAINT UQSTD_EGTPROCESSSTATUSCODE;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS ADD (
  CONSTRAINT UQSTD_EGTPROCESSSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS
  DROP CONSTRAINT UQSTD_EGTPROCESSSTATUSNAME;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS ADD (
  CONSTRAINT UQSTD_EGTPROCESSSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS
  DROP CONSTRAINT PK_STD_EGTPROCESSSTATUS;

ALTER TABLE SDSADM.STD_EGTPROCESSSTATUS ADD (
  CONSTRAINT PK_STD_EGTPROCESSSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTTYPEHISTORY
  DROP CONSTRAINT PK_STD_EGTTYPEHISTORY;

ALTER TABLE SDSADM.STD_EGTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_EGTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTTYPE
  DROP CONSTRAINT UQSTD_EGTTYPECODE;

ALTER TABLE SDSADM.STD_EGTTYPE ADD (
  CONSTRAINT UQSTD_EGTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTTYPE
  DROP CONSTRAINT UQSTD_EGTTYPENAME;

ALTER TABLE SDSADM.STD_EGTTYPE ADD (
  CONSTRAINT UQSTD_EGTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EGTTYPE
  DROP CONSTRAINT PK_STD_EGTTYPE;

ALTER TABLE SDSADM.STD_EGTTYPE ADD (
  CONSTRAINT PK_STD_EGTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY
  DROP CONSTRAINT PK_STD_ELECTRONICPLANTYPEHSTRY;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPEHISTORY ADD (
  CONSTRAINT PK_STD_ELECTRONICPLANTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE
  DROP CONSTRAINT UQSTD_ELECTRONICPLANTYPECODE;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE ADD (
  CONSTRAINT UQSTD_ELECTRONICPLANTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE
  DROP CONSTRAINT UQSTD_ELECTRONICPLANTYPENAME;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE ADD (
  CONSTRAINT UQSTD_ELECTRONICPLANTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE
  DROP CONSTRAINT PK_STD_ELECTRONICPLANTYPE;

ALTER TABLE SDSADM.STD_ELECTRONICPLANTYPE ADD (
  CONSTRAINT PK_STD_ELECTRONICPLANTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY
  DROP CONSTRAINT PK_STD_ELIGIBILITYCODEHISTORY;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODEHISTORY ADD (
  CONSTRAINT PK_STD_ELIGIBILITYCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY
  DROP CONSTRAINT PK_STD_ELIGIBILITYCODETYPHSTRY;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPEHISTORY ADD (
  CONSTRAINT PK_STD_ELIGIBILITYCODETYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE
  DROP CONSTRAINT UQSTD_ELIGIBILITYCODETYPECODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE ADD (
  CONSTRAINT UQSTD_ELIGIBILITYCODETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE
  DROP CONSTRAINT UQSTD_ELIGIBILITYCODETYPENAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE ADD (
  CONSTRAINT UQSTD_ELIGIBILITYCODETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE
  DROP CONSTRAINT PK_STD_ELIGIBILITYCODETYPE;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODETYPE ADD (
  CONSTRAINT PK_STD_ELIGIBILITYCODETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE
  DROP CONSTRAINT UQSTD_ELIGIBILITYCODECODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE ADD (
  CONSTRAINT UQSTD_ELIGIBILITYCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE
  DROP CONSTRAINT UQSTD_ELIGIBILITYCODENAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE ADD (
  CONSTRAINT UQSTD_ELIGIBILITYCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYCODE
  DROP CONSTRAINT PK_STD_ELIGIBILITYCODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYCODE ADD (
  CONSTRAINT PK_STD_ELIGIBILITYCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY
  DROP CONSTRAINT PK_STD_ELIGDOCTYPEHISTORY;

ALTER TABLE SDSADM.STD_ELIGDOCTYPEHISTORY ADD (
  CONSTRAINT PK_STD_ELIGDOCTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGDOCTYPE
  DROP CONSTRAINT UQSTD_ELIGDOCTYPECODE;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE ADD (
  CONSTRAINT UQSTD_ELIGDOCTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGDOCTYPE
  DROP CONSTRAINT UQSTD_ELIGDOCTYPENAME;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE ADD (
  CONSTRAINT UQSTD_ELIGDOCTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGDOCTYPE
  DROP CONSTRAINT PK_STD_ELIGDOCTYPE;

ALTER TABLE SDSADM.STD_ELIGDOCTYPE ADD (
  CONSTRAINT PK_STD_ELIGDOCTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY
  DROP CONSTRAINT PK_STD_ELIGIBILITYFACTORHSTRY;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTORHISTORY ADD (
  CONSTRAINT PK_STD_ELIGIBILITYFACTORHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR
  DROP CONSTRAINT UQSTD_ELIGIBILITYFACTORCODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR ADD (
  CONSTRAINT UQSTD_ELIGIBILITYFACTORCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR
  DROP CONSTRAINT UQSTD_ELIGIBILITYFACTORNAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR ADD (
  CONSTRAINT UQSTD_ELIGIBILITYFACTORNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR
  DROP CONSTRAINT PK_STD_ELIGIBILITYFACTOR;

ALTER TABLE SDSADM.STD_ELIGIBILITYFACTOR ADD (
  CONSTRAINT PK_STD_ELIGIBILITYFACTOR
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY
  DROP CONSTRAINT PK_STD_ELIGPRMRYDATASRCHISTORY;

ALTER TABLE SDSADM.STD_ELIGPRMRYDATASRCHISTORY ADD (
  CONSTRAINT PK_STD_ELIGPRMRYDATASRCHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC
  DROP CONSTRAINT UQSTD_ELIGPRMRYDATASRCCODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC ADD (
  CONSTRAINT UQSTD_ELIGPRMRYDATASRCCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC
  DROP CONSTRAINT UQSTD_ELIGPRMRYDATASRCNAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC ADD (
  CONSTRAINT UQSTD_ELIGPRMRYDATASRCNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC
  DROP CONSTRAINT PK_STD_ELIGPRMRYDATASRC;

ALTER TABLE SDSADM.STD_ELIGIBILITYPRIMARYDATASRC ADD (
  CONSTRAINT PK_STD_ELIGPRMRYDATASRC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY
  DROP CONSTRAINT PK_STD_ELIGIBILITYSTATUSHSTRY;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_ELIGIBILITYSTATUSHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS
  DROP CONSTRAINT UQSTD_ELIGIBILITYSTATUSCODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS ADD (
  CONSTRAINT UQSTD_ELIGIBILITYSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS
  DROP CONSTRAINT UQSTD_ELIGIBILITYSTATUSNAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS ADD (
  CONSTRAINT UQSTD_ELIGIBILITYSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS
  DROP CONSTRAINT PK_STD_ELIGIBILITYSTATUS;

ALTER TABLE SDSADM.STD_ELIGIBILITYSTATUS ADD (
  CONSTRAINT PK_STD_ELIGIBILITYSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY
  DROP CONSTRAINT PK_STD_ELIGIBILITYVRSCTYPHSTRY;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYPHISTORY ADD (
  CONSTRAINT PK_STD_ELIGIBILITYVRSCTYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP
  DROP CONSTRAINT UQSTD_ELIGIBILITYVRSCTYPCODE;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP ADD (
  CONSTRAINT UQSTD_ELIGIBILITYVRSCTYPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP
  DROP CONSTRAINT UQSTD_ELIGIBILITYVRSCTYPNAME;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP ADD (
  CONSTRAINT UQSTD_ELIGIBILITYVRSCTYPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP
  DROP CONSTRAINT PK_STD_ELIGIBILITYVRSCTYP;

ALTER TABLE SDSADM.STD_ELIGIBILITYVRSCTYP ADD (
  CONSTRAINT PK_STD_ELIGIBILITYVRSCTYP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY
  DROP CONSTRAINT PK_STD_EMAILADDRESSTYPEHISTORY;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_EMAILADDRESSTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE
  DROP CONSTRAINT UQSTD_EMAILADDRESSTYPECODE;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE ADD (
  CONSTRAINT UQSTD_EMAILADDRESSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE
  DROP CONSTRAINT UQSTD_EMAILADDRESSTYPENAME;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE ADD (
  CONSTRAINT UQSTD_EMAILADDRESSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE
  DROP CONSTRAINT PK_STD_EMAILADDRESSTYPE;

ALTER TABLE SDSADM.STD_EMAILADDRESSTYPE ADD (
  CONSTRAINT PK_STD_EMAILADDRESSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY
  DROP CONSTRAINT PK_STD_EMAILCHANGESOURCEHSTRY;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCEHISTORY ADD (
  CONSTRAINT PK_STD_EMAILCHANGESOURCEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE
  DROP CONSTRAINT PK_STD_EMAILCHANGESOURCE;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE ADD (
  CONSTRAINT PK_STD_EMAILCHANGESOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE
  DROP CONSTRAINT UQSTD_EMAILCHANGESOURCECODE;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE ADD (
  CONSTRAINT UQSTD_EMAILCHANGESOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE
  DROP CONSTRAINT UQSTD_EMAILCHANGESOURCENAME;

ALTER TABLE SDSADM.STD_EMAILCHANGESOURCE ADD (
  CONSTRAINT UQSTD_EMAILCHANGESOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY
  DROP CONSTRAINT PK_STD_EMAIL_DOMAINHISTORY;

ALTER TABLE SDSADM.STD_EMAIL_DOMAINHISTORY ADD (
  CONSTRAINT PK_STD_EMAIL_DOMAINHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN
  DROP CONSTRAINT UQSTD_EMAIL_DOMAININSTITUTION;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN ADD (
  CONSTRAINT UQSTD_EMAIL_DOMAININSTITUTION
  UNIQUE (INSTITUTION_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMAIL_DOMAIN
  DROP CONSTRAINT PK_STD_EMAIL_DOMAIN;

ALTER TABLE SDSADM.STD_EMAIL_DOMAIN ADD (
  CONSTRAINT PK_STD_EMAIL_DOMAIN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY
  DROP CONSTRAINT PK_STD_EMERGENCYRESPONSEHSTRY;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSEHISTORY ADD (
  CONSTRAINT PK_STD_EMERGENCYRESPONSEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE
  DROP CONSTRAINT UQSTD_EMERGENCYRESPONSECODE;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE ADD (
  CONSTRAINT UQSTD_EMERGENCYRESPONSECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE
  DROP CONSTRAINT UQSTD_EMERGENCYRESPONSENAME;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE ADD (
  CONSTRAINT UQSTD_EMERGENCYRESPONSENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE
  DROP CONSTRAINT PK_STD_EMERGENCYRESPONSE;

ALTER TABLE SDSADM.STD_EMERGENCYRESPONSE ADD (
  CONSTRAINT PK_STD_EMERGENCYRESPONSE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY
  DROP CONSTRAINT PK_STD_EMPLOYMENTSTATUSHISTORY;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_EMPLOYMENTSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS
  DROP CONSTRAINT UQSTD_EMPLOYMENTSTATUSCODE;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS ADD (
  CONSTRAINT UQSTD_EMPLOYMENTSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS
  DROP CONSTRAINT UQSTD_EMPLOYMENTSTATUSNAME;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS ADD (
  CONSTRAINT UQSTD_EMPLOYMENTSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS
  DROP CONSTRAINT PK_STD_EMPLOYMENTSTATUS;

ALTER TABLE SDSADM.STD_EMPLOYMENTSTATUS ADD (
  CONSTRAINT PK_STD_EMPLOYMENTSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTCATTYPEHSTRY;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPEHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTCATTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE
  DROP CONSTRAINT UQSTD_ENROLLMENTCATTYPECODE;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE ADD (
  CONSTRAINT UQSTD_ENROLLMENTCATTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE
  DROP CONSTRAINT UQSTD_ENROLLMENTCATTYPENAME;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE ADD (
  CONSTRAINT UQSTD_ENROLLMENTCATTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE
  DROP CONSTRAINT PK_STD_ENROLLMENTCATTYPE;

ALTER TABLE SDSADM.STD_ENROLLMENTCATTYPE ADD (
  CONSTRAINT PK_STD_ENROLLMENTCATTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTOVRDERSNHSTRY;

ALTER TABLE SDSADM.STD_ENROLLMENTOVRDERSNHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTOVRDERSNHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON
  DROP CONSTRAINT UQSTD_ENROLLMENTOVRDERSNCODE;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON ADD (
  CONSTRAINT UQSTD_ENROLLMENTOVRDERSNCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON
  DROP CONSTRAINT UQSTD_ENROLLMENTOVRDERSNNAME;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON ADD (
  CONSTRAINT UQSTD_ENROLLMENTOVRDERSNNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON
  DROP CONSTRAINT PK_STD_ENROLLMENTOVRDERSN;

ALTER TABLE SDSADM.STD_ENROLLMENTOVERRIDEREASON ADD (
  CONSTRAINT PK_STD_ENROLLMENTOVRDERSN
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTPRIORGRPHSTRY;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRPHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTPRIORGRPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP
  DROP CONSTRAINT UQSTD_ENROLLMENTPRIORGRPCODE;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP ADD (
  CONSTRAINT UQSTD_ENROLLMENTPRIORGRPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP
  DROP CONSTRAINT UQSTD_ENROLLMENTPRIORGRPNAME;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP ADD (
  CONSTRAINT UQSTD_ENROLLMENTPRIORGRPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP
  DROP CONSTRAINT PK_STD_ENROLLMENTPRIORGRP;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORGRP ADD (
  CONSTRAINT PK_STD_ENROLLMENTPRIORGRP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTPRRSGRPHSTRY;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRPHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTPRRSGRPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP
  DROP CONSTRAINT UQSTD_ENROLLMENTPRIORSGRPCODE;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP ADD (
  CONSTRAINT UQSTD_ENROLLMENTPRIORSGRPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP
  DROP CONSTRAINT UQSTD_ENROLLMENTPRIORSGRPNAME;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP ADD (
  CONSTRAINT UQSTD_ENROLLMENTPRIORSGRPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP
  DROP CONSTRAINT PK_STD_ENROLLMENTPRIORSGRP;

ALTER TABLE SDSADM.STD_ENROLLMENTPRIORSGRP ADD (
  CONSTRAINT PK_STD_ENROLLMENTPRIORSGRP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTSOURCEHISTORY;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCEHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTSOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE
  DROP CONSTRAINT UQSTD_ENROLLMENTSOURCECODE;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE ADD (
  CONSTRAINT UQSTD_ENROLLMENTSOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE
  DROP CONSTRAINT UQSTD_ENROLLMENTSOURCENAME;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE ADD (
  CONSTRAINT UQSTD_ENROLLMENTSOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE
  DROP CONSTRAINT PK_STD_ENROLLMENTSOURCE;

ALTER TABLE SDSADM.STD_ENROLLMENTSOURCE ADD (
  CONSTRAINT PK_STD_ENROLLMENTSOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY
  DROP CONSTRAINT PK_STD_ENROLLMENTSTATUSHISTORY;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_ENROLLMENTSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS
  DROP CONSTRAINT UQSTD_ENROLLMENTSTATUSCODE;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS ADD (
  CONSTRAINT UQSTD_ENROLLMENTSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS
  DROP CONSTRAINT UQSTD_ENROLLMENTSTATUSNAME;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS ADD (
  CONSTRAINT UQSTD_ENROLLMENTSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS
  DROP CONSTRAINT PK_STD_ENROLLMENTSTATUS;

ALTER TABLE SDSADM.STD_ENROLLMENTSTATUS ADD (
  CONSTRAINT PK_STD_ENROLLMENTSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY
  DROP CONSTRAINT PK_STD_ENTITLEMENTCODEHISTORY;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODEHISTORY ADD (
  CONSTRAINT PK_STD_ENTITLEMENTCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE
  DROP CONSTRAINT UQSTD_ENTITLEMENTCODECODE;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE ADD (
  CONSTRAINT UQSTD_ENTITLEMENTCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE
  DROP CONSTRAINT UQSTD_ENTITLEMENTCODENAME;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE ADD (
  CONSTRAINT UQSTD_ENTITLEMENTCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ENTITLEMENTCODE
  DROP CONSTRAINT PK_STD_ENTITLEMENTCODE;

ALTER TABLE SDSADM.STD_ENTITLEMENTCODE ADD (
  CONSTRAINT PK_STD_ENTITLEMENTCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY
  DROP CONSTRAINT PK_STD_ETHCOLLMTHDHISTORY;

ALTER TABLE SDSADM.STD_ETHCOLLMTHDHISTORY ADD (
  CONSTRAINT PK_STD_ETHCOLLMTHDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD
  DROP CONSTRAINT UQSTD_ETHCOLLMTHDCODE;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD ADD (
  CONSTRAINT UQSTD_ETHCOLLMTHDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD
  DROP CONSTRAINT UQSTD_ETHCOLLMTHDNAME;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD ADD (
  CONSTRAINT UQSTD_ETHCOLLMTHDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD
  DROP CONSTRAINT PK_STD_ETHCOLLMTHD;

ALTER TABLE SDSADM.STD_ETHNICITYCOLLECTIONMETHOD ADD (
  CONSTRAINT PK_STD_ETHCOLLMTHD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITYHISTORY
  DROP CONSTRAINT PK_STD_ETHNICITYHISTORY;

ALTER TABLE SDSADM.STD_ETHNICITYHISTORY ADD (
  CONSTRAINT PK_STD_ETHNICITYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT UQSTD_ETHNICITYABBREVIATION;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT UQSTD_ETHNICITYABBREVIATION
  UNIQUE (ABBREVIATION)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT UQSTD_ETHNICITYNAME;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT UQSTD_ETHNICITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT UQSTD_ETHNICITYHL7VALUE;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT UQSTD_ETHNICITYHL7VALUE
  UNIQUE (HL7VALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT UQSTD_ETHNICITYCDCVALUE;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT UQSTD_ETHNICITYCDCVALUE
  UNIQUE (CDCVALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT UQSTD_ETHNICITYPTFVALUE;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT UQSTD_ETHNICITYPTFVALUE
  UNIQUE (PTFVALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_ETHNICITY
  DROP CONSTRAINT PK_STD_ETHNICITY;

ALTER TABLE SDSADM.STD_ETHNICITY ADD (
  CONSTRAINT PK_STD_ETHNICITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY
  DROP CONSTRAINT PK_STD_EVALUATIONMETHODHISTORY;

ALTER TABLE SDSADM.STD_EVALUATIONMETHODHISTORY ADD (
  CONSTRAINT PK_STD_EVALUATIONMETHODHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD
  DROP CONSTRAINT UQSTD_EVALUATIONMETHODCODE;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD ADD (
  CONSTRAINT UQSTD_EVALUATIONMETHODCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD
  DROP CONSTRAINT UQSTD_EVALUATIONMETHODNAME;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD ADD (
  CONSTRAINT UQSTD_EVALUATIONMETHODNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EVALUATIONMETHOD
  DROP CONSTRAINT PK_STD_EVALUATIONMETHOD;

ALTER TABLE SDSADM.STD_EVALUATIONMETHOD ADD (
  CONSTRAINT PK_STD_EVALUATIONMETHOD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY
  DROP CONSTRAINT PK_STD_EXPENSETYPEHISTORY;

ALTER TABLE SDSADM.STD_EXPENSETYPEHISTORY ADD (
  CONSTRAINT PK_STD_EXPENSETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXPENSETYPE
  DROP CONSTRAINT UQSTD_EXPENSETYPECODE;

ALTER TABLE SDSADM.STD_EXPENSETYPE ADD (
  CONSTRAINT UQSTD_EXPENSETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXPENSETYPE
  DROP CONSTRAINT UQSTD_EXPENSETYPENAME;

ALTER TABLE SDSADM.STD_EXPENSETYPE ADD (
  CONSTRAINT UQSTD_EXPENSETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXPENSETYPE
  DROP CONSTRAINT PK_STD_EXPENSETYPE;

ALTER TABLE SDSADM.STD_EXPENSETYPE ADD (
  CONSTRAINT PK_STD_EXPENSETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY
  DROP CONSTRAINT PK_STD_EXTREMITYCODEHISTORY;

ALTER TABLE SDSADM.STD_EXTREMITYCODEHISTORY ADD (
  CONSTRAINT PK_STD_EXTREMITYCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXTREMITYCODE
  DROP CONSTRAINT UQSTD_EXTREMITYCODECODE;

ALTER TABLE SDSADM.STD_EXTREMITYCODE ADD (
  CONSTRAINT UQSTD_EXTREMITYCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXTREMITYCODE
  DROP CONSTRAINT UQSTD_EXTREMITYCODENAME;

ALTER TABLE SDSADM.STD_EXTREMITYCODE ADD (
  CONSTRAINT UQSTD_EXTREMITYCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXTREMITYCODE
  DROP CONSTRAINT PK_STD_EXTREMITYCODE;

ALTER TABLE SDSADM.STD_EXTREMITYCODE ADD (
  CONSTRAINT PK_STD_EXTREMITYCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY
  DROP CONSTRAINT PK_STD_FACILITYTYPEHISTORY;

ALTER TABLE SDSADM.STD_FACILITYTYPEHISTORY ADD (
  CONSTRAINT PK_STD_FACILITYTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FACILITYTYPE
  DROP CONSTRAINT UQSTD_FACILITYTYPECODE;

ALTER TABLE SDSADM.STD_FACILITYTYPE ADD (
  CONSTRAINT UQSTD_FACILITYTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FACILITYTYPE
  DROP CONSTRAINT UQSTD_FACILITYTYPENAME;

ALTER TABLE SDSADM.STD_FACILITYTYPE ADD (
  CONSTRAINT UQSTD_FACILITYTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FACILITYTYPE
  DROP CONSTRAINT PK_STD_FACILITYTYPE;

ALTER TABLE SDSADM.STD_FACILITYTYPE ADD (
  CONSTRAINT PK_STD_FACILITYTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY
  DROP CONSTRAINT PK_STD_FTITRANSSTATUSHISTORY;

ALTER TABLE SDSADM.STD_FTITRANSSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_FTITRANSSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSSTATUS
  DROP CONSTRAINT UQSTD_FTITRANSSTATUSCODE;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS ADD (
  CONSTRAINT UQSTD_FTITRANSSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSSTATUS
  DROP CONSTRAINT UQSTD_FTITRANSSTATUSNAME;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS ADD (
  CONSTRAINT UQSTD_FTITRANSSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSSTATUS
  DROP CONSTRAINT PK_STD_FTITRANSSTATUS;

ALTER TABLE SDSADM.STD_FTITRANSSTATUS ADD (
  CONSTRAINT PK_STD_FTITRANSSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY
  DROP CONSTRAINT PK_STD_FTITRANSTYPEHISTORY;

ALTER TABLE SDSADM.STD_FTITRANSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_FTITRANSTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSTYPE
  DROP CONSTRAINT UQSTD_FTITRANSTYPECODE;

ALTER TABLE SDSADM.STD_FTITRANSTYPE ADD (
  CONSTRAINT UQSTD_FTITRANSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSTYPE
  DROP CONSTRAINT UQSTD_FTITRANSTYPENAME;

ALTER TABLE SDSADM.STD_FTITRANSTYPE ADD (
  CONSTRAINT UQSTD_FTITRANSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FTITRANSTYPE
  DROP CONSTRAINT PK_STD_FTITRANSTYPE;

ALTER TABLE SDSADM.STD_FTITRANSTYPE ADD (
  CONSTRAINT PK_STD_FTITRANSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY
  DROP CONSTRAINT PK_STD_FEEBASISPRGRMHISTORY;

ALTER TABLE SDSADM.STD_FEEBASISPRGRMHISTORY ADD (
  CONSTRAINT PK_STD_FEEBASISPRGRMHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM
  DROP CONSTRAINT UQSTD_FEEBASISPRGRMCODE;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM ADD (
  CONSTRAINT UQSTD_FEEBASISPRGRMCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM
  DROP CONSTRAINT UQSTD_FEEBASISPRGRMNAME;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM ADD (
  CONSTRAINT UQSTD_FEEBASISPRGRMNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISPROGRAM
  DROP CONSTRAINT PK_STD_FEEBASISPRGRM;

ALTER TABLE SDSADM.STD_FEEBASISPROGRAM ADD (
  CONSTRAINT PK_STD_FEEBASISPRGRM
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY
  DROP CONSTRAINT PK_STD_FEEBASISTRTMNTHISTORY;

ALTER TABLE SDSADM.STD_FEEBASISTRTMNTHISTORY ADD (
  CONSTRAINT PK_STD_FEEBASISTRTMNTHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE
  DROP CONSTRAINT UQSTD_FEEBASISTRTMNTCODE;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE ADD (
  CONSTRAINT UQSTD_FEEBASISTRTMNTCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE
  DROP CONSTRAINT UQSTD_FEEBASISTRTMNTNAME;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE ADD (
  CONSTRAINT UQSTD_FEEBASISTRTMNTNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE
  DROP CONSTRAINT PK_STD_FEEBASISTRTMNT;

ALTER TABLE SDSADM.STD_FEEBASISTREATMENTCODETYPE ADD (
  CONSTRAINT PK_STD_FEEBASISTRTMNT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY
  DROP CONSTRAINT PK_STD_FILIPINOVETPROOFHISTORY;

ALTER TABLE SDSADM.STD_FILIPINOVETPROOFHISTORY ADD (
  CONSTRAINT PK_STD_FILIPINOVETPROOFHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF
  DROP CONSTRAINT UQSTD_FILIPINOVETPROOFCODE;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF ADD (
  CONSTRAINT UQSTD_FILIPINOVETPROOFCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF
  DROP CONSTRAINT UQSTD_FILIPINOVETPROOFNAME;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF ADD (
  CONSTRAINT UQSTD_FILIPINOVETPROOFNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF
  DROP CONSTRAINT PK_STD_FILIPINOVETPROOF;

ALTER TABLE SDSADM.STD_FILIPINOVETERANPROOF ADD (
  CONSTRAINT PK_STD_FILIPINOVETPROOF
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY
  DROP CONSTRAINT PK_STD_FINANINFOSOURCEHISTORY;

ALTER TABLE SDSADM.STD_FINANINFOSOURCEHISTORY ADD (
  CONSTRAINT PK_STD_FINANINFOSOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANINFOSOURCE
  DROP CONSTRAINT UQSTD_FINANINFOSOURCECODE;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE ADD (
  CONSTRAINT UQSTD_FINANINFOSOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANINFOSOURCE
  DROP CONSTRAINT UQSTD_FINANINFOSOURCENAME;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE ADD (
  CONSTRAINT UQSTD_FINANINFOSOURCENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANINFOSOURCE
  DROP CONSTRAINT PK_STD_FINANINFOSOURCE;

ALTER TABLE SDSADM.STD_FINANINFOSOURCE ADD (
  CONSTRAINT PK_STD_FINANINFOSOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY
  DROP CONSTRAINT PK_STD_FINANCIALMAPPINGHISTORY;

ALTER TABLE SDSADM.STD_FINANCIALMAPPINGHISTORY ADD (
  CONSTRAINT PK_STD_FINANCIALMAPPINGHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALMAPPING
  DROP CONSTRAINT UQSTD_FINANCIALMAPPINGCODE;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING ADD (
  CONSTRAINT UQSTD_FINANCIALMAPPINGCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALMAPPING
  DROP CONSTRAINT UQSTD_FINANCIALMAPPINGNAME;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING ADD (
  CONSTRAINT UQSTD_FINANCIALMAPPINGNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALMAPPING
  DROP CONSTRAINT PK_STD_FINANCIALMAPPING;

ALTER TABLE SDSADM.STD_FINANCIALMAPPING ADD (
  CONSTRAINT PK_STD_FINANCIALMAPPING
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GMTTHRESHOLDS
  DROP CONSTRAINT PK_STD_GMTTHRESHOLDS;

ALTER TABLE SDSADM.STD_GMTTHRESHOLDS ADD (
  CONSTRAINT PK_STD_GMTTHRESHOLDS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GENDERHISTORY
  DROP CONSTRAINT PK_STD_GENDERHISTORY;

ALTER TABLE SDSADM.STD_GENDERHISTORY ADD (
  CONSTRAINT PK_STD_GENDERHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GENDER
  DROP CONSTRAINT UQSTD_GENDERCODE;

ALTER TABLE SDSADM.STD_GENDER ADD (
  CONSTRAINT UQSTD_GENDERCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GENDER
  DROP CONSTRAINT UQSTD_GENDERNAME;

ALTER TABLE SDSADM.STD_GENDER ADD (
  CONSTRAINT UQSTD_GENDERNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_GENDER
  DROP CONSTRAINT PK_STD_GENDER;

ALTER TABLE SDSADM.STD_GENDER ADD (
  CONSTRAINT PK_STD_GENDER
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY
  DROP CONSTRAINT PK_STD_HL724ETHNICITYMAPHSTRY;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAPHISTORY ADD (
  CONSTRAINT PK_STD_HL724ETHNICITYMAPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP
  DROP CONSTRAINT UQSTD_HL724ETHNICITYMAPHL7VL;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP ADD (
  CONSTRAINT UQSTD_HL724ETHNICITYMAPHL7VL
  UNIQUE (HL7VALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP
  DROP CONSTRAINT UQSTD_HL724ETHNICITYMAPNAME;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP ADD (
  CONSTRAINT UQSTD_HL724ETHNICITYMAPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP
  DROP CONSTRAINT UQSTD_HL724ETHNICITYMAPETHNCTY;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP ADD (
  CONSTRAINT UQSTD_HL724ETHNICITYMAPETHNCTY
  UNIQUE (ETHNICITY_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP
  DROP CONSTRAINT PK_STD_HL724ETHNICITYMAP;

ALTER TABLE SDSADM.STD_HL724ETHNICITYMAP ADD (
  CONSTRAINT PK_STD_HL724ETHNICITYMAP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY
  DROP CONSTRAINT PK_STD_HL724MARITALSTAMAPHSTRY;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAPHISTORY ADD (
  CONSTRAINT PK_STD_HL724MARITALSTAMAPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP
  DROP CONSTRAINT UQSTD_HL724MARITALSTAMAPHL7VL;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP ADD (
  CONSTRAINT UQSTD_HL724MARITALSTAMAPHL7VL
  UNIQUE (HL7VALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP
  DROP CONSTRAINT UQSTD_HL724MARITALSTAMAPNAME;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP ADD (
  CONSTRAINT UQSTD_HL724MARITALSTAMAPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP
  DROP CONSTRAINT UQSTD_HL724MARITALSTMPMRTLSTTS;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP ADD (
  CONSTRAINT UQSTD_HL724MARITALSTMPMRTLSTTS
  UNIQUE (MARITALSTATUS_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP
  DROP CONSTRAINT PK_STD_HL724MARITALSTAMAP;

ALTER TABLE SDSADM.STD_HL724MARITALSTAMAP ADD (
  CONSTRAINT PK_STD_HL724MARITALSTAMAP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY
  DROP CONSTRAINT PK_STD_HL724RACEMAPHISTORY;

ALTER TABLE SDSADM.STD_HL724RACEMAPHISTORY ADD (
  CONSTRAINT PK_STD_HL724RACEMAPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAP
  DROP CONSTRAINT UQSTD_HL724RACEMAPHL7VALUE;

ALTER TABLE SDSADM.STD_HL724RACEMAP ADD (
  CONSTRAINT UQSTD_HL724RACEMAPHL7VALUE
  UNIQUE (HL7VALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAP
  DROP CONSTRAINT UQSTD_HL724RACEMAPNAME;

ALTER TABLE SDSADM.STD_HL724RACEMAP ADD (
  CONSTRAINT UQSTD_HL724RACEMAPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAP
  DROP CONSTRAINT UQSTD_HL724RACEMAPRACE;

ALTER TABLE SDSADM.STD_HL724RACEMAP ADD (
  CONSTRAINT UQSTD_HL724RACEMAPRACE
  UNIQUE (RACE_ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL724RACEMAP
  DROP CONSTRAINT PK_STD_HL724RACEMAP;

ALTER TABLE SDSADM.STD_HL724RACEMAP ADD (
  CONSTRAINT PK_STD_HL724RACEMAP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7ACKCODEHISTORY;

ALTER TABLE SDSADM.STD_HL7ACKCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7ACKCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7ACKTYPEHISTORY;

ALTER TABLE SDSADM.STD_HL7ACKTYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7ACKTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE
  DROP CONSTRAINT UQSTD_HL7ACKTYPECODE;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE ADD (
  CONSTRAINT UQSTD_HL7ACKTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE
  DROP CONSTRAINT UQSTD_HL7ACKTYPENAME;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE ADD (
  CONSTRAINT UQSTD_HL7ACKTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE
  DROP CONSTRAINT PK_STD_HL7ACKTYPE;

ALTER TABLE SDSADM.STD_HL7ACKNOWLEDGEMENTTYPE ADD (
  CONSTRAINT PK_STD_HL7ACKTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7ACTIONCODEHISTORY;

ALTER TABLE SDSADM.STD_HL7ACTIONCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7ACTIONCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACTIONCODE
  DROP CONSTRAINT UQSTD_HL7ACTIONCODECODE;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE ADD (
  CONSTRAINT UQSTD_HL7ACTIONCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACTIONCODE
  DROP CONSTRAINT UQSTD_HL7ACTIONCODENAME;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE ADD (
  CONSTRAINT UQSTD_HL7ACTIONCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7ACTIONCODE
  DROP CONSTRAINT PK_STD_HL7ACTIONCODE;

ALTER TABLE SDSADM.STD_HL7ACTIONCODE ADD (
  CONSTRAINT PK_STD_HL7ACTIONCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7DATATYPEHISTORY;

ALTER TABLE SDSADM.STD_HL7DATATYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7DATATYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7DATATYPE
  DROP CONSTRAINT UQSTD_HL7DATATYPECODE;

ALTER TABLE SDSADM.STD_HL7DATATYPE ADD (
  CONSTRAINT UQSTD_HL7DATATYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7DATATYPE
  DROP CONSTRAINT UQSTD_HL7DATATYPENAME;

ALTER TABLE SDSADM.STD_HL7DATATYPE ADD (
  CONSTRAINT UQSTD_HL7DATATYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7DATATYPE
  DROP CONSTRAINT PK_STD_HL7DATATYPE;

ALTER TABLE SDSADM.STD_HL7DATATYPE ADD (
  CONSTRAINT PK_STD_HL7DATATYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7EVENTTYPEHISTORY;

ALTER TABLE SDSADM.STD_HL7EVENTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7EVENTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7EVENTTYPE
  DROP CONSTRAINT UQSTD_HL7EVENTTYPECODE;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE ADD (
  CONSTRAINT UQSTD_HL7EVENTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7EVENTTYPE
  DROP CONSTRAINT UQSTD_HL7EVENTTYPENAME;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE ADD (
  CONSTRAINT UQSTD_HL7EVENTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7EVENTTYPE
  DROP CONSTRAINT PK_STD_HL7EVENTTYPE;

ALTER TABLE SDSADM.STD_HL7EVENTTYPE ADD (
  CONSTRAINT PK_STD_HL7EVENTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY
  DROP CONSTRAINT PK_STD_HL7FILELEVELEVENTHSTRY;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENTHISTORY ADD (
  CONSTRAINT PK_STD_HL7FILELEVELEVENTHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT
  DROP CONSTRAINT UQSTD_HL7FILELEVELEVENTCODE;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT ADD (
  CONSTRAINT UQSTD_HL7FILELEVELEVENTCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT
  DROP CONSTRAINT UQSTD_HL7FILELEVELEVENTNAME;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT ADD (
  CONSTRAINT UQSTD_HL7FILELEVELEVENTNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT
  DROP CONSTRAINT PK_STD_HL7FILELEVELEVENT;

ALTER TABLE SDSADM.STD_HL7FILELEVELEVENT ADD (
  CONSTRAINT PK_STD_HL7FILELEVELEVENT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7MASTERFILEIDCDHSTRY;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7MASTERFILEIDCDHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE
  DROP CONSTRAINT UQSTD_HL7MASTERFILEIDCODECODE;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE ADD (
  CONSTRAINT UQSTD_HL7MASTERFILEIDCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE
  DROP CONSTRAINT UQSTD_HL7MASTERFILEIDCODENAME;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE ADD (
  CONSTRAINT UQSTD_HL7MASTERFILEIDCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE
  DROP CONSTRAINT PK_STD_HL7MASTERFILEIDCODE;

ALTER TABLE SDSADM.STD_HL7MASTERFILEIDCODE ADD (
  CONSTRAINT PK_STD_HL7MASTERFILEIDCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY
  DROP CONSTRAINT PK_STD_HL7MESSAGESTRUCHISTORY;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUCHISTORY ADD (
  CONSTRAINT PK_STD_HL7MESSAGESTRUCHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC
  DROP CONSTRAINT UQSTD_HL7MESSAGESTRUCCODE;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC ADD (
  CONSTRAINT UQSTD_HL7MESSAGESTRUCCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC
  DROP CONSTRAINT PK_STD_HL7MESSAGESTRUC;

ALTER TABLE SDSADM.STD_HL7MESSAGESTRUC ADD (
  CONSTRAINT PK_STD_HL7MESSAGESTRUC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7MESSAGETYPEHISTORY;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7MESSAGETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE
  DROP CONSTRAINT UQSTD_HL7MESSAGETYPECODE;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE ADD (
  CONSTRAINT UQSTD_HL7MESSAGETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7MESSAGETYPE
  DROP CONSTRAINT PK_STD_HL7MESSAGETYPE;

ALTER TABLE SDSADM.STD_HL7MESSAGETYPE ADD (
  CONSTRAINT PK_STD_HL7MESSAGETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7OBSERVRESULTCDHSTRY;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7OBSERVRESULTCDHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE
  DROP CONSTRAINT UQSTD_HL7OBSERVRESULTCODECODE;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE ADD (
  CONSTRAINT UQSTD_HL7OBSERVRESULTCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE
  DROP CONSTRAINT UQSTD_HL7OBSERVRESULTCODENAME;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE ADD (
  CONSTRAINT UQSTD_HL7OBSERVRESULTCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE
  DROP CONSTRAINT PK_STD_HL7OBSERVRESULTCODE;

ALTER TABLE SDSADM.STD_HL7OBSERVRESULTCODE ADD (
  CONSTRAINT PK_STD_HL7OBSERVRESULTCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7PRIMKEYVALTYPEHSTRY;

ALTER TABLE SDSADM.STD_HL7PRIMKEYVALTYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7PRIMKEYVALTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE
  DROP CONSTRAINT UQSTD_HL7PRIMKEYVALTYPECODE;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE ADD (
  CONSTRAINT UQSTD_HL7PRIMKEYVALTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE
  DROP CONSTRAINT UQSTD_HL7PRIMKEYVALTYPENAME;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE ADD (
  CONSTRAINT UQSTD_HL7PRIMKEYVALTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE
  DROP CONSTRAINT PK_STD_HL7PRIMKEYVALTYPE;

ALTER TABLE SDSADM.STD_HL7PRIMARYKEYVALUETYPE ADD (
  CONSTRAINT PK_STD_HL7PRIMKEYVALTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY
  DROP CONSTRAINT PK_STD_HL7PROCIDHISTORY;

ALTER TABLE SDSADM.STD_HL7PROCIDHISTORY ADD (
  CONSTRAINT PK_STD_HL7PROCIDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGID
  DROP CONSTRAINT UQSTD_HL7PROCIDCODE;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID ADD (
  CONSTRAINT UQSTD_HL7PROCIDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGID
  DROP CONSTRAINT UQSTD_HL7PROCIDNAME;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID ADD (
  CONSTRAINT UQSTD_HL7PROCIDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGID
  DROP CONSTRAINT PK_STD_HL7PROCID;

ALTER TABLE SDSADM.STD_HL7PROCESSINGID ADD (
  CONSTRAINT PK_STD_HL7PROCID
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY
  DROP CONSTRAINT PK_STD_HL7PROCMODEHISTORY;

ALTER TABLE SDSADM.STD_HL7PROCMODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7PROCMODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE
  DROP CONSTRAINT UQSTD_HL7PROCMODECODE;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE ADD (
  CONSTRAINT UQSTD_HL7PROCMODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE
  DROP CONSTRAINT UQSTD_HL7PROCMODENAME;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE ADD (
  CONSTRAINT UQSTD_HL7PROCMODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE
  DROP CONSTRAINT PK_STD_HL7PROCMODE;

ALTER TABLE SDSADM.STD_HL7PROCESSINGMODE ADD (
  CONSTRAINT PK_STD_HL7PROCMODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY
  DROP CONSTRAINT PK_STD_HL7QUANLIMREQHISTORY;

ALTER TABLE SDSADM.STD_HL7QUANLIMREQHISTORY ADD (
  CONSTRAINT PK_STD_HL7QUANLIMREQHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST
  DROP CONSTRAINT UQSTD_HL7QUANLIMREQCODE;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST ADD (
  CONSTRAINT UQSTD_HL7QUANLIMREQCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST
  DROP CONSTRAINT UQSTD_HL7QUANLIMREQNAME;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST ADD (
  CONSTRAINT UQSTD_HL7QUANLIMREQNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST
  DROP CONSTRAINT PK_STD_HL7QUANLIMREQ;

ALTER TABLE SDSADM.STD_HL7QUANTITYLIMITEDREQUEST ADD (
  CONSTRAINT PK_STD_HL7QUANLIMREQ
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY
  DROP CONSTRAINT PK_STD_HL7QUERYPRIORITYHISTORY;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITYHISTORY ADD (
  CONSTRAINT PK_STD_HL7QUERYPRIORITYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY
  DROP CONSTRAINT UQSTD_HL7QUERYPRIORITYCODE;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY ADD (
  CONSTRAINT UQSTD_HL7QUERYPRIORITYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY
  DROP CONSTRAINT UQSTD_HL7QUERYPRIORITYNAME;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY ADD (
  CONSTRAINT UQSTD_HL7QUERYPRIORITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY
  DROP CONSTRAINT PK_STD_HL7QUERYPRIORITY;

ALTER TABLE SDSADM.STD_HL7QUERYPRIORITY ADD (
  CONSTRAINT PK_STD_HL7QUERYPRIORITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7QRYRESPFMTCODEHSTRY;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7QRYRESPFMTCODEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE
  DROP CONSTRAINT UQSTD_HL7QRYRESPFMTCODECODE;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE ADD (
  CONSTRAINT UQSTD_HL7QRYRESPFMTCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE
  DROP CONSTRAINT UQSTD_HL7QRYRESPFMTCODENAME;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE ADD (
  CONSTRAINT UQSTD_HL7QRYRESPFMTCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE
  DROP CONSTRAINT PK_STD_HL7QRYRESPFMTCODE;

ALTER TABLE SDSADM.STD_HL7QRYRESPFMTCODE ADD (
  CONSTRAINT PK_STD_HL7QRYRESPFMTCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY
  DROP CONSTRAINT PK_STD_HL7QRYRESPSTATUSHISTORY;

ALTER TABLE SDSADM.STD_HL7QRYRESPSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_HL7QRYRESPSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS
  DROP CONSTRAINT UQSTD_HL7QRYRESPSTATUSCODE;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS ADD (
  CONSTRAINT UQSTD_HL7QRYRESPSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS
  DROP CONSTRAINT UQSTD_HL7QRYRESPSTATUSNAME;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS ADD (
  CONSTRAINT UQSTD_HL7QRYRESPSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS
  DROP CONSTRAINT PK_STD_HL7QRYRESPSTATUS;

ALTER TABLE SDSADM.STD_HL7QUERYRESPONSESTATUS ADD (
  CONSTRAINT PK_STD_HL7QRYRESPSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY
  DROP CONSTRAINT PK_STD_HL7QUERYRESULTSHISTORY;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTSHISTORY ADD (
  CONSTRAINT PK_STD_HL7QUERYRESULTSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS
  DROP CONSTRAINT UQSTD_HL7QUERYRESULTSCODE;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS ADD (
  CONSTRAINT UQSTD_HL7QUERYRESULTSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS
  DROP CONSTRAINT UQSTD_HL7QUERYRESULTSNAME;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS ADD (
  CONSTRAINT UQSTD_HL7QUERYRESULTSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7QUERYRESULTS
  DROP CONSTRAINT PK_STD_HL7QUERYRESULTS;

ALTER TABLE SDSADM.STD_HL7QUERYRESULTS ADD (
  CONSTRAINT PK_STD_HL7QUERYRESULTS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY
  DROP CONSTRAINT PK_STD_HL7RECLEVERRRETHISTORY;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRETHISTORY ADD (
  CONSTRAINT PK_STD_HL7RECLEVERRRETHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET
  DROP CONSTRAINT UQSTD_HL7RECLEVERRRETCODE;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET ADD (
  CONSTRAINT UQSTD_HL7RECLEVERRRETCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET
  DROP CONSTRAINT UQSTD_HL7RECLEVERRRETNAME;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET ADD (
  CONSTRAINT UQSTD_HL7RECLEVERRRETNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVERRRET
  DROP CONSTRAINT PK_STD_HL7RECLEVERRRET;

ALTER TABLE SDSADM.STD_HL7RECLEVERRRET ADD (
  CONSTRAINT PK_STD_HL7RECLEVERRRET
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7RECLEVEVCODEHISTORY;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7RECLEVEVCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE
  DROP CONSTRAINT UQSTD_HL7RECLEVEVCODECODE;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE ADD (
  CONSTRAINT UQSTD_HL7RECLEVEVCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE
  DROP CONSTRAINT UQSTD_HL7RECLEVEVCODENAME;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE ADD (
  CONSTRAINT UQSTD_HL7RECLEVEVCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE
  DROP CONSTRAINT PK_STD_HL7RECLEVEVCODE;

ALTER TABLE SDSADM.STD_HL7RECLEVEVCODE ADD (
  CONSTRAINT PK_STD_HL7RECLEVEVCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY
  DROP CONSTRAINT PK_STD_HL7RESPLEVCODEHISTORY;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODEHISTORY ADD (
  CONSTRAINT PK_STD_HL7RESPLEVCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE
  DROP CONSTRAINT UQSTD_HL7RESPLEVCODECODE;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE ADD (
  CONSTRAINT UQSTD_HL7RESPLEVCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE
  DROP CONSTRAINT UQSTD_HL7RESPLEVCODENAME;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE ADD (
  CONSTRAINT UQSTD_HL7RESPLEVCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPLEVCODE
  DROP CONSTRAINT PK_STD_HL7RESPLEVCODE;

ALTER TABLE SDSADM.STD_HL7RESPLEVCODE ADD (
  CONSTRAINT PK_STD_HL7RESPLEVCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY
  DROP CONSTRAINT PK_STD_HL7RESPMODALITYHISTORY;

ALTER TABLE SDSADM.STD_HL7RESPMODALITYHISTORY ADD (
  CONSTRAINT PK_STD_HL7RESPMODALITYHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPMODALITY
  DROP CONSTRAINT UQSTD_HL7RESPMODALITYCODE;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY ADD (
  CONSTRAINT UQSTD_HL7RESPMODALITYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPMODALITY
  DROP CONSTRAINT UQSTD_HL7RESPMODALITYNAME;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY ADD (
  CONSTRAINT UQSTD_HL7RESPMODALITYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7RESPMODALITY
  DROP CONSTRAINT PK_STD_HL7RESPMODALITY;

ALTER TABLE SDSADM.STD_HL7RESPMODALITY ADD (
  CONSTRAINT PK_STD_HL7RESPMODALITY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY
  DROP CONSTRAINT PK_STD_HL7SRCOFCOMMENTHISTORY;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENTHISTORY ADD (
  CONSTRAINT PK_STD_HL7SRCOFCOMMENTHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT
  DROP CONSTRAINT UQSTD_HL7SRCOFCOMMENTCODE;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT ADD (
  CONSTRAINT UQSTD_HL7SRCOFCOMMENTCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT
  DROP CONSTRAINT UQSTD_HL7SRCOFCOMMENTNAME;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT ADD (
  CONSTRAINT UQSTD_HL7SRCOFCOMMENTNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT
  DROP CONSTRAINT PK_STD_HL7SRCOFCOMMENT;

ALTER TABLE SDSADM.STD_HL7SRCOFCOMMENT ADD (
  CONSTRAINT PK_STD_HL7SRCOFCOMMENT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY
  DROP CONSTRAINT PK_STD_HL7VALUETYPEHISTORY;

ALTER TABLE SDSADM.STD_HL7VALUETYPEHISTORY ADD (
  CONSTRAINT PK_STD_HL7VALUETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VALUETYPE
  DROP CONSTRAINT UQSTD_HL7VALUETYPECODE;

ALTER TABLE SDSADM.STD_HL7VALUETYPE ADD (
  CONSTRAINT UQSTD_HL7VALUETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VALUETYPE
  DROP CONSTRAINT UQSTD_HL7VALUETYPENAME;

ALTER TABLE SDSADM.STD_HL7VALUETYPE ADD (
  CONSTRAINT UQSTD_HL7VALUETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VALUETYPE
  DROP CONSTRAINT PK_STD_HL7VALUETYPE;

ALTER TABLE SDSADM.STD_HL7VALUETYPE ADD (
  CONSTRAINT PK_STD_HL7VALUETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY
  DROP CONSTRAINT PK_STD_HL7VERSIONIDHISTORY;

ALTER TABLE SDSADM.STD_HL7VERSIONIDHISTORY ADD (
  CONSTRAINT PK_STD_HL7VERSIONIDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VERSIONID
  DROP CONSTRAINT UQSTD_HL7VERSIONIDCODE;

ALTER TABLE SDSADM.STD_HL7VERSIONID ADD (
  CONSTRAINT UQSTD_HL7VERSIONIDCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VERSIONID
  DROP CONSTRAINT UQSTD_HL7VERSIONIDNAME;

ALTER TABLE SDSADM.STD_HL7VERSIONID ADD (
  CONSTRAINT UQSTD_HL7VERSIONIDNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7VERSIONID
  DROP CONSTRAINT PK_STD_HL7VERSIONID;

ALTER TABLE SDSADM.STD_HL7VERSIONID ADD (
  CONSTRAINT PK_STD_HL7VERSIONID
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY
  DROP CONSTRAINT PK_STD_HL7WHATSUBJECTFLTRHSTRY;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTRHISTORY ADD (
  CONSTRAINT PK_STD_HL7WHATSUBJECTFLTRHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR
  DROP CONSTRAINT UQSTD_HL7WHATSUBJECTFLTRCODE;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR ADD (
  CONSTRAINT UQSTD_HL7WHATSUBJECTFLTRCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR
  DROP CONSTRAINT UQSTD_HL7WHATSUBJECTFLTRNAME;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR ADD (
  CONSTRAINT UQSTD_HL7WHATSUBJECTFLTRNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR
  DROP CONSTRAINT PK_STD_HL7WHATSUBJECTFLTR;

ALTER TABLE SDSADM.STD_HL7WHATSUBJECTFLTR ADD (
  CONSTRAINT PK_STD_HL7WHATSUBJECTFLTR
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY
  DROP CONSTRAINT PK_STD_HEALTHBENEFITTYPEHSTRY;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPEHISTORY ADD (
  CONSTRAINT PK_STD_HEALTHBENEFITTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE
  DROP CONSTRAINT UQSTD_HEALTHBENEFITTYPECODE;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE ADD (
  CONSTRAINT UQSTD_HEALTHBENEFITTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE
  DROP CONSTRAINT UQSTD_HEALTHBENEFITTYPENAME;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE ADD (
  CONSTRAINT UQSTD_HEALTHBENEFITTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE
  DROP CONSTRAINT PK_STD_HEALTHBENEFITTYPE;

ALTER TABLE SDSADM.STD_HEALTHBENEFITTYPE ADD (
  CONSTRAINT PK_STD_HEALTHBENEFITTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY
  DROP CONSTRAINT PK_STD_BILLINGTRANSTYPEHISTORY;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_BILLINGTRANSTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE
  DROP CONSTRAINT UQSTD_BILLINGTRANSTYPECODE;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE ADD (
  CONSTRAINT UQSTD_BILLINGTRANSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE
  DROP CONSTRAINT UQSTD_BILLINGTRANSTYPENAME;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE ADD (
  CONSTRAINT UQSTD_BILLINGTRANSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE
  DROP CONSTRAINT PK_STD_BILLINGTRANSTYPE;

ALTER TABLE SDSADM.STD_BILLINGTRANSTYPE ADD (
  CONSTRAINT PK_STD_BILLINGTRANSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY
  DROP CONSTRAINT PK_STD_IVMDECISIONTYPEHISTORY;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPEHISTORY ADD (
  CONSTRAINT PK_STD_IVMDECISIONTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE
  DROP CONSTRAINT UQSTD_IVMDECISIONTYPECODE;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE ADD (
  CONSTRAINT UQSTD_IVMDECISIONTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE
  DROP CONSTRAINT UQSTD_IVMDECISIONTYPENAME;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE ADD (
  CONSTRAINT UQSTD_IVMDECISIONTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMDECISIONTYPE
  DROP CONSTRAINT PK_STD_IVMDECISIONTYPE;

ALTER TABLE SDSADM.STD_IVMDECISIONTYPE ADD (
  CONSTRAINT PK_STD_IVMDECISIONTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY
  DROP CONSTRAINT PK_STD_IVMMIGRATETYPEHISTORY;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPEHISTORY ADD (
  CONSTRAINT PK_STD_IVMMIGRATETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE
  DROP CONSTRAINT UQSTD_IVMMIGRATETYPECODE;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE ADD (
  CONSTRAINT UQSTD_IVMMIGRATETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMMIGRATETYPE
  DROP CONSTRAINT PK_STD_IVMMIGRATETYPE;

ALTER TABLE SDSADM.STD_IVMMIGRATETYPE ADD (
  CONSTRAINT PK_STD_IVMMIGRATETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY
  DROP CONSTRAINT PK_STD_IVMCASEPRIORCRITHISTORY;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRITHISTORY ADD (
  CONSTRAINT PK_STD_IVMCASEPRIORCRITHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT
  DROP CONSTRAINT UQSTD_IVMCASEPRIORCRITCODE;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT ADD (
  CONSTRAINT UQSTD_IVMCASEPRIORCRITCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT
  DROP CONSTRAINT UQSTD_IVMCASEPRIORCRITNAME;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT ADD (
  CONSTRAINT UQSTD_IVMCASEPRIORCRITNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT
  DROP CONSTRAINT PK_STD_IVMCASEPRIORCRIT;

ALTER TABLE SDSADM.STD_IVMCASEPRIORCRIT ADD (
  CONSTRAINT PK_STD_IVMCASEPRIORCRIT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMUNITHISTORY
  DROP CONSTRAINT PK_STD_IVMUNITHISTORY;

ALTER TABLE SDSADM.STD_IVMUNITHISTORY ADD (
  CONSTRAINT PK_STD_IVMUNITHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMUNIT
  DROP CONSTRAINT UQSTD_IVMUNITCODE;

ALTER TABLE SDSADM.STD_IVMUNIT ADD (
  CONSTRAINT UQSTD_IVMUNITCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMUNIT
  DROP CONSTRAINT UQSTD_IVMUNITNAME;

ALTER TABLE SDSADM.STD_IVMUNIT ADD (
  CONSTRAINT UQSTD_IVMUNITNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IVMUNIT
  DROP CONSTRAINT PK_STD_IVMUNIT;

ALTER TABLE SDSADM.STD_IVMUNIT ADD (
  CONSTRAINT PK_STD_IVMUNIT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY
  DROP CONSTRAINT PK_STD_IDENTIFIERTYPEHISTORY;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPEHISTORY ADD (
  CONSTRAINT PK_STD_IDENTIFIERTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE
  DROP CONSTRAINT UQSTD_IDENTIFIERTYPECODE;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE ADD (
  CONSTRAINT UQSTD_IDENTIFIERTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE
  DROP CONSTRAINT UQSTD_IDENTIFIERTYPENAME;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE ADD (
  CONSTRAINT UQSTD_IDENTIFIERTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDENTIFIERTYPE
  DROP CONSTRAINT PK_STD_IDENTIFIERTYPE;

ALTER TABLE SDSADM.STD_IDENTIFIERTYPE ADD (
  CONSTRAINT PK_STD_IDENTIFIERTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY
  DROP CONSTRAINT PK_STD_IDEVENTTYPEHISTORY;

ALTER TABLE SDSADM.STD_IDEVENTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_IDEVENTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEVENTTYPE
  DROP CONSTRAINT UQSTD_IDEVENTTYPECODE;

ALTER TABLE SDSADM.STD_IDEVENTTYPE ADD (
  CONSTRAINT UQSTD_IDEVENTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEVENTTYPE
  DROP CONSTRAINT UQSTD_IDEVENTTYPENAME;

ALTER TABLE SDSADM.STD_IDEVENTTYPE ADD (
  CONSTRAINT UQSTD_IDEVENTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEVENTTYPE
  DROP CONSTRAINT PK_STD_IDEVENTTYPE;

ALTER TABLE SDSADM.STD_IDEVENTTYPE ADD (
  CONSTRAINT PK_STD_IDEVENTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY
  DROP CONSTRAINT PK_STD_IDEXCEPTYPEGROUPHISTORY;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUPHISTORY ADD (
  CONSTRAINT PK_STD_IDEXCEPTYPEGROUPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP
  DROP CONSTRAINT UQSTD_IDEXCEPTYPEGROUPNAME;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP ADD (
  CONSTRAINT UQSTD_IDEXCEPTYPEGROUPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP
  DROP CONSTRAINT UQSTD_IDEXCEPTYPEGRPCRT_TSK_ND;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP ADD (
  CONSTRAINT UQSTD_IDEXCEPTYPEGRPCRT_TSK_ND
  UNIQUE (CREATE_TASK_IND)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP
  DROP CONSTRAINT PK_STD_IDEXCEPTYPEGROUP;

ALTER TABLE SDSADM.STD_IDEXCEPTYPEGROUP ADD (
  CONSTRAINT PK_STD_IDEXCEPTYPEGROUP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY
  DROP CONSTRAINT PK_STD_IDTASKPROBCATEGORYHSTRY;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORYHISTORY ADD (
  CONSTRAINT PK_STD_IDTASKPROBCATEGORYHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY
  DROP CONSTRAINT UQSTD_IDTASKPROBCATEGORYCODE;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY ADD (
  CONSTRAINT UQSTD_IDTASKPROBCATEGORYCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY
  DROP CONSTRAINT UQSTD_IDTASKPROBCATEGORYNAME;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY ADD (
  CONSTRAINT UQSTD_IDTASKPROBCATEGORYNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY
  DROP CONSTRAINT PK_STD_IDTASKPROBCATEGORY;

ALTER TABLE SDSADM.STD_IDTASKPROBCATEGORY ADD (
  CONSTRAINT PK_STD_IDTASKPROBCATEGORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY
  DROP CONSTRAINT PK_STD_IDTASKSTATUSTYPEHISTORY;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPEHISTORY ADD (
  CONSTRAINT PK_STD_IDTASKSTATUSTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE
  DROP CONSTRAINT UQSTD_IDTASKSTATUSTYPECODE;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE ADD (
  CONSTRAINT UQSTD_IDTASKSTATUSTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE
  DROP CONSTRAINT UQSTD_IDTASKSTATUSTYPENAME;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE ADD (
  CONSTRAINT UQSTD_IDTASKSTATUSTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE
  DROP CONSTRAINT PK_STD_IDTASKSTATUSTYPE;

ALTER TABLE SDSADM.STD_IDTASKSTATUSTYPE ADD (
  CONSTRAINT PK_STD_IDTASKSTATUSTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY
  DROP CONSTRAINT PK_STD_INCOMETESTSOURCEHISTORY;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCEHISTORY ADD (
  CONSTRAINT PK_STD_INCOMETESTSOURCEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE
  DROP CONSTRAINT UQSTD_INCOMETESTSOURCECODE;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE ADD (
  CONSTRAINT UQSTD_INCOMETESTSOURCECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTSOURCE
  DROP CONSTRAINT PK_STD_INCOMETESTSOURCE;

ALTER TABLE SDSADM.STD_INCOMETESTSOURCE ADD (
  CONSTRAINT PK_STD_INCOMETESTSOURCE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY
  DROP CONSTRAINT PK_STD_INCOMETESTTYPEHISTORY;

ALTER TABLE SDSADM.STD_INCOMETESTTYPEHISTORY ADD (
  CONSTRAINT PK_STD_INCOMETESTTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTTYPE
  DROP CONSTRAINT UQSTD_INCOMETESTTYPECODE;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE ADD (
  CONSTRAINT UQSTD_INCOMETESTTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTTYPE
  DROP CONSTRAINT UQSTD_INCOMETESTTYPENAME;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE ADD (
  CONSTRAINT UQSTD_INCOMETESTTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETESTTYPE
  DROP CONSTRAINT PK_STD_INCOMETESTTYPE;

ALTER TABLE SDSADM.STD_INCOMETESTTYPE ADD (
  CONSTRAINT PK_STD_INCOMETESTTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY
  DROP CONSTRAINT PK_STD_INCOMETHRESHOLDHISTORY;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLDHISTORY ADD (
  CONSTRAINT PK_STD_INCOMETHRESHOLDHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETHRESHOLD
  DROP CONSTRAINT PK_STD_INCOMETHRESHOLD;

ALTER TABLE SDSADM.STD_INCOMETHRESHOLD ADD (
  CONSTRAINT PK_STD_INCOMETHRESHOLD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY
  DROP CONSTRAINT PK_STD_INCOMETYPEHISTORY;

ALTER TABLE SDSADM.STD_INCOMETYPEHISTORY ADD (
  CONSTRAINT PK_STD_INCOMETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETYPE
  DROP CONSTRAINT UQSTD_INCOMETYPECODE;

ALTER TABLE SDSADM.STD_INCOMETYPE ADD (
  CONSTRAINT UQSTD_INCOMETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETYPE
  DROP CONSTRAINT UQSTD_INCOMETYPENAME;

ALTER TABLE SDSADM.STD_INCOMETYPE ADD (
  CONSTRAINT UQSTD_INCOMETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMETYPE
  DROP CONSTRAINT PK_STD_INCOMETYPE;

ALTER TABLE SDSADM.STD_INCOMETYPE ADD (
  CONSTRAINT PK_STD_INCOMETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY
  DROP CONSTRAINT PK_STD_DISTRIBUTIONCODEHISTORY;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODEHISTORY ADD (
  CONSTRAINT PK_STD_DISTRIBUTIONCODEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE
  DROP CONSTRAINT UQSTD_DISTRIBUTIONCODECODE;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE ADD (
  CONSTRAINT UQSTD_DISTRIBUTIONCODECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE
  DROP CONSTRAINT UQSTD_DISTRIBUTIONCODENAME;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE ADD (
  CONSTRAINT UQSTD_DISTRIBUTIONCODENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE
  DROP CONSTRAINT PK_STD_DISTRIBUTIONCODE;

ALTER TABLE SDSADM.STD_DISTRIBUTIONCODE ADD (
  CONSTRAINT PK_STD_DISTRIBUTIONCODE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY
  DROP CONSTRAINT PK_STD_DISTRIBUTIONTYPEHISTORY;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPEHISTORY ADD (
  CONSTRAINT PK_STD_DISTRIBUTIONTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE
  DROP CONSTRAINT UQSTD_DISTRIBUTIONTYPECODE;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE ADD (
  CONSTRAINT UQSTD_DISTRIBUTIONTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE
  DROP CONSTRAINT UQSTD_DISTRIBUTIONTYPENAME;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE ADD (
  CONSTRAINT UQSTD_DISTRIBUTIONTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE
  DROP CONSTRAINT PK_STD_DISTRIBUTIONTYPE;

ALTER TABLE SDSADM.STD_DISTRIBUTIONTYPE ADD (
  CONSTRAINT PK_STD_DISTRIBUTIONTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY
  DROP CONSTRAINT PK_STD_EXCLUSIONRSNTYPEHISTORY;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPEHISTORY ADD (
  CONSTRAINT PK_STD_EXCLUSIONRSNTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE
  DROP CONSTRAINT UQSTD_EXCLUSIONRSNTYPECODE;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE ADD (
  CONSTRAINT UQSTD_EXCLUSIONRSNTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE
  DROP CONSTRAINT UQSTD_EXCLUSIONRSNTYPENAME;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE ADD (
  CONSTRAINT UQSTD_EXCLUSIONRSNTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE
  DROP CONSTRAINT PK_STD_EXCLUSIONRSNTYPE;

ALTER TABLE SDSADM.STD_EXCLUSIONRSNTYPE ADD (
  CONSTRAINT PK_STD_EXCLUSIONRSNTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY
  DROP CONSTRAINT PK_STD_DOCUMENTSOURCETYPEHSTRY;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPEHISTORY ADD (
  CONSTRAINT PK_STD_DOCUMENTSOURCETYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE
  DROP CONSTRAINT UQSTD_DOCUMENTSOURCETYPECODE;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE ADD (
  CONSTRAINT UQSTD_DOCUMENTSOURCETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE
  DROP CONSTRAINT UQSTD_DOCUMENTSOURCETYPENAME;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE ADD (
  CONSTRAINT UQSTD_DOCUMENTSOURCETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE
  DROP CONSTRAINT PK_STD_DOCUMENTSOURCETYPE;

ALTER TABLE SDSADM.STD_DOCUMENTSOURCETYPE ADD (
  CONSTRAINT PK_STD_DOCUMENTSOURCETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY
  DROP CONSTRAINT PK_STD_FINANCIALDOCUMTYPEHSTRY;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPEHISTORY ADD (
  CONSTRAINT PK_STD_FINANCIALDOCUMTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE
  DROP CONSTRAINT UQSTD_FINANCIALDOCUMTYPECODE;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE ADD (
  CONSTRAINT UQSTD_FINANCIALDOCUMTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE
  DROP CONSTRAINT UQSTD_FINANCIALDOCUMTYPENAME;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE ADD (
  CONSTRAINT UQSTD_FINANCIALDOCUMTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE
  DROP CONSTRAINT PK_STD_FINANCIALDOCUMTYPE;

ALTER TABLE SDSADM.STD_FINANCIALDOCUMTYPE ADD (
  CONSTRAINT PK_STD_FINANCIALDOCUMTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY
  DROP CONSTRAINT PK_STD_INCOMEVERIFSTATUSHSTRY;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_INCOMEVERIFSTATUSHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS
  DROP CONSTRAINT UQSTD_INCOMEVERIFSTATUSCODE;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS ADD (
  CONSTRAINT UQSTD_INCOMEVERIFSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS
  DROP CONSTRAINT UQSTD_INCOMEVERIFSTATUSNAME;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS ADD (
  CONSTRAINT UQSTD_INCOMEVERIFSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS
  DROP CONSTRAINT PK_STD_INCOMEVERIFSTATUS;

ALTER TABLE SDSADM.STD_INCOMEVERIFSTATUS ADD (
  CONSTRAINT PK_STD_INCOMEVERIFSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTIONCODE
  DROP CONSTRAINT UQSTD_INSTCDCODEVALUE;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE ADD (
  CONSTRAINT UQSTD_INSTCDCODEVALUE
  UNIQUE (CODEVALUE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSTITUTIONCODE
  DROP CONSTRAINT PK_STD_INSTCD;

ALTER TABLE SDSADM.STD_INSTITUTIONCODE ADD (
  CONSTRAINT PK_STD_INSTCD
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY
  DROP CONSTRAINT PK_STD_INSURANCEHOLDERTYPHSTRY;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPEHISTORY ADD (
  CONSTRAINT PK_STD_INSURANCEHOLDERTYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE
  DROP CONSTRAINT UQSTD_INSURANCEHOLDERTYPECODE;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE ADD (
  CONSTRAINT UQSTD_INSURANCEHOLDERTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE
  DROP CONSTRAINT UQSTD_INSURANCEHOLDERTYPENAME;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE ADD (
  CONSTRAINT UQSTD_INSURANCEHOLDERTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE
  DROP CONSTRAINT PK_STD_INSURANCEHOLDERTYPE;

ALTER TABLE SDSADM.STD_INSURANCEHOLDERTYPE ADD (
  CONSTRAINT PK_STD_INSURANCEHOLDERTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY
  DROP CONSTRAINT PK_STD_INSURANCEMAPPINGHISTORY;

ALTER TABLE SDSADM.STD_INSURANCEMAPPINGHISTORY ADD (
  CONSTRAINT PK_STD_INSURANCEMAPPINGHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEMAPPING
  DROP CONSTRAINT UQSTD_INSURANCEMAPPINGCODE;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING ADD (
  CONSTRAINT UQSTD_INSURANCEMAPPINGCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEMAPPING
  DROP CONSTRAINT UQSTD_INSURANCEMAPPINGNAME;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING ADD (
  CONSTRAINT UQSTD_INSURANCEMAPPINGNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEMAPPING
  DROP CONSTRAINT PK_STD_INSURANCEMAPPING;

ALTER TABLE SDSADM.STD_INSURANCEMAPPING ADD (
  CONSTRAINT PK_STD_INSURANCEMAPPING
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY
  DROP CONSTRAINT PK_STD_INSPLANTYPEHISTORY;

ALTER TABLE SDSADM.STD_INSPLANTYPEHISTORY ADD (
  CONSTRAINT PK_STD_INSPLANTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE
  DROP CONSTRAINT UQSTD_INSPLANTYPECODE;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE ADD (
  CONSTRAINT UQSTD_INSPLANTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE
  DROP CONSTRAINT UQSTD_INSPLANTYPENAME;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE ADD (
  CONSTRAINT UQSTD_INSPLANTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE
  DROP CONSTRAINT PK_STD_INSPLANTYPE;

ALTER TABLE SDSADM.STD_INSURANCEPLANTYPE ADD (
  CONSTRAINT PK_STD_INSPLANTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY
  DROP CONSTRAINT PK_STD_INSRPRTSRCHISTORY;

ALTER TABLE SDSADM.STD_INSRPRTSRCHISTORY ADD (
  CONSTRAINT PK_STD_INSRPRTSRCHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE
  DROP CONSTRAINT UQSTD_INSRPRTSRCCODE;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE ADD (
  CONSTRAINT UQSTD_INSRPRTSRCCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE
  DROP CONSTRAINT UQSTD_INSRPRTSRCNAME;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE ADD (
  CONSTRAINT UQSTD_INSRPRTSRCNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE
  DROP CONSTRAINT PK_STD_INSRPRTSRC;

ALTER TABLE SDSADM.STD_INSURANCEREPORTSOURCE ADD (
  CONSTRAINT PK_STD_INSRPRTSRC
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY
  DROP CONSTRAINT PK_STD_INSURANCETYPEHISTORY;

ALTER TABLE SDSADM.STD_INSURANCETYPEHISTORY ADD (
  CONSTRAINT PK_STD_INSURANCETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCETYPE
  DROP CONSTRAINT UQSTD_INSURANCETYPECODE;

ALTER TABLE SDSADM.STD_INSURANCETYPE ADD (
  CONSTRAINT UQSTD_INSURANCETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCETYPE
  DROP CONSTRAINT UQSTD_INSURANCETYPENAME;

ALTER TABLE SDSADM.STD_INSURANCETYPE ADD (
  CONSTRAINT UQSTD_INSURANCETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_INSURANCETYPE
  DROP CONSTRAINT PK_STD_INSURANCETYPE;

ALTER TABLE SDSADM.STD_INSURANCETYPE ADD (
  CONSTRAINT PK_STD_INSURANCETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY
  DROP CONSTRAINT PK_STD_LOCATIONTYPEHISTORY;

ALTER TABLE SDSADM.STD_LOCATIONTYPEHISTORY ADD (
  CONSTRAINT PK_STD_LOCATIONTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_LOCATIONTYPE
  DROP CONSTRAINT UQSTD_LOCATIONTYPECODE;

ALTER TABLE SDSADM.STD_LOCATIONTYPE ADD (
  CONSTRAINT UQSTD_LOCATIONTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_LOCATIONTYPE
  DROP CONSTRAINT UQSTD_LOCATIONTYPENAME;

ALTER TABLE SDSADM.STD_LOCATIONTYPE ADD (
  CONSTRAINT UQSTD_LOCATIONTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_LOCATIONTYPE
  DROP CONSTRAINT PK_STD_LOCATIONTYPE;

ALTER TABLE SDSADM.STD_LOCATIONTYPE ADD (
  CONSTRAINT PK_STD_LOCATIONTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MASMTTHISTORY
  DROP CONSTRAINT PK_STD_MASMTTHISTORY;

ALTER TABLE SDSADM.STD_MASMTTHISTORY ADD (
  CONSTRAINT PK_STD_MASMTTHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE
  DROP CONSTRAINT UQSTD_MASMTTNAME;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE ADD (
  CONSTRAINT UQSTD_MASMTTNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE
  DROP CONSTRAINT PK_STD_MASMTT;

ALTER TABLE SDSADM.STD_MASMOVEMENTTRANSACTIONTYPE ADD (
  CONSTRAINT PK_STD_MASMTT
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY
  DROP CONSTRAINT PK_STD_MSTSTATUSHISTORY;

ALTER TABLE SDSADM.STD_MSTSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_MSTSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSTSTATUS
  DROP CONSTRAINT UQSTD_MSTSTATUSCODE;

ALTER TABLE SDSADM.STD_MSTSTATUS ADD (
  CONSTRAINT UQSTD_MSTSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSTSTATUS
  DROP CONSTRAINT UQSTD_MSTSTATUSNAME;

ALTER TABLE SDSADM.STD_MSTSTATUS ADD (
  CONSTRAINT UQSTD_MSTSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MSTSTATUS
  DROP CONSTRAINT PK_STD_MSTSTATUS;

ALTER TABLE SDSADM.STD_MSTSTATUS ADD (
  CONSTRAINT PK_STD_MSTSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY
  DROP CONSTRAINT PK_STD_MARITALSTATUSHISTORY;

ALTER TABLE SDSADM.STD_MARITALSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_MARITALSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MARITALSTATUS
  DROP CONSTRAINT UQSTD_MARITALSTATUSCODE;

ALTER TABLE SDSADM.STD_MARITALSTATUS ADD (
  CONSTRAINT UQSTD_MARITALSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MARITALSTATUS
  DROP CONSTRAINT UQSTD_MARITALSTATUSNAME;

ALTER TABLE SDSADM.STD_MARITALSTATUS ADD (
  CONSTRAINT UQSTD_MARITALSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MARITALSTATUS
  DROP CONSTRAINT PK_STD_MARITALSTATUS;

ALTER TABLE SDSADM.STD_MARITALSTATUS ADD (
  CONSTRAINT PK_STD_MARITALSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY
  DROP CONSTRAINT PK_STD_MTNOTREQRSNTYPEHISTORY;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPEHISTORY ADD (
  CONSTRAINT PK_STD_MTNOTREQRSNTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE
  DROP CONSTRAINT UQSTD_MTNOTREQRSNTYPECODE;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE ADD (
  CONSTRAINT UQSTD_MTNOTREQRSNTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE
  DROP CONSTRAINT UQSTD_MTNOTREQRSNTYPENAME;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE ADD (
  CONSTRAINT UQSTD_MTNOTREQRSNTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE
  DROP CONSTRAINT PK_STD_MTNOTREQRSNTYPE;

ALTER TABLE SDSADM.STD_MTNOTREQRSNTYPE ADD (
  CONSTRAINT PK_STD_MTNOTREQRSNTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY
  DROP CONSTRAINT PK_STD_MEANSTESTSIGSTATUSHSTRY;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_MEANSTESTSIGSTATUSHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS
  DROP CONSTRAINT UQSTD_MEANSTESTSIGSTATUSCODE;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS ADD (
  CONSTRAINT UQSTD_MEANSTESTSIGSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS
  DROP CONSTRAINT UQSTD_MEANSTESTSIGSTATUSNAME;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS ADD (
  CONSTRAINT UQSTD_MEANSTESTSIGSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS
  DROP CONSTRAINT PK_STD_MEANSTESTSIGSTATUS;

ALTER TABLE SDSADM.STD_MEANSTESTSIGSTATUS ADD (
  CONSTRAINT PK_STD_MEANSTESTSIGSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY
  DROP CONSTRAINT PK_STD_MEANSTESTSTATUSHISTORY;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUSHISTORY ADD (
  CONSTRAINT PK_STD_MEANSTESTSTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS
  DROP CONSTRAINT UQSTD_MEANSTESTSTATUSCODE;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS ADD (
  CONSTRAINT UQSTD_MEANSTESTSTATUSCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS
  DROP CONSTRAINT UQSTD_MEANSTESTSTATUSNAME;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS ADD (
  CONSTRAINT UQSTD_MEANSTESTSTATUSNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MEANSTESTSTATUS
  DROP CONSTRAINT PK_STD_MEANSTESTSTATUS;

ALTER TABLE SDSADM.STD_MEANSTESTSTATUS ADD (
  CONSTRAINT PK_STD_MEANSTESTSTATUS
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY
  DROP CONSTRAINT PK_STD_MESSAGESTATUSHISTORY;

ALTER TABLE SDSADM.STD_MESSAGESTATUSHISTORY ADD (
  CONSTRAINT PK_STD_MESSAGESTATUSHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY
  DROP CONSTRAINT PK_STD_MESSAGETYPEHISTORY;

ALTER TABLE SDSADM.STD_MESSAGETYPEHISTORY ADD (
  CONSTRAINT PK_STD_MESSAGETYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY
  DROP CONSTRAINT PK_STD_MILHISTORYTYPEHISTORY;

ALTER TABLE SDSADM.STD_MILHISTORYTYPEHISTORY ADD (
  CONSTRAINT PK_STD_MILHISTORYTYPEHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILHISTORYTYPE
  DROP CONSTRAINT UQSTD_MILHISTORYTYPECODE;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE ADD (
  CONSTRAINT UQSTD_MILHISTORYTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILHISTORYTYPE
  DROP CONSTRAINT UQSTD_MILHISTORYTYPENAME;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE ADD (
  CONSTRAINT UQSTD_MILHISTORYTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILHISTORYTYPE
  DROP CONSTRAINT PK_STD_MILHISTORYTYPE;

ALTER TABLE SDSADM.STD_MILHISTORYTYPE ADD (
  CONSTRAINT PK_STD_MILHISTORYTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY
  DROP CONSTRAINT PK_STD_MILITARYSVCCOMPHISTORY;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMPHISTORY ADD (
  CONSTRAINT PK_STD_MILITARYSVCCOMPHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP
  DROP CONSTRAINT UQSTD_MILITARYSVCCOMPCODE;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP ADD (
  CONSTRAINT UQSTD_MILITARYSVCCOMPCODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP
  DROP CONSTRAINT UQSTD_MILITARYSVCCOMPNAME;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP ADD (
  CONSTRAINT UQSTD_MILITARYSVCCOMPNAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MILITARYSVCCOMP
  DROP CONSTRAINT PK_STD_MILITARYSVCCOMP;

ALTER TABLE SDSADM.STD_MILITARYSVCCOMP ADD (
  CONSTRAINT PK_STD_MILITARYSVCCOMP
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY
  DROP CONSTRAINT PK_STD_MONETARYBENEFITTYPHSTRY;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPEHISTORY ADD (
  CONSTRAINT PK_STD_MONETARYBENEFITTYPHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE
  DROP CONSTRAINT UQSTD_MONETARYBENEFITTYPECODE;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE ADD (
  CONSTRAINT UQSTD_MONETARYBENEFITTYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE
  DROP CONSTRAINT UQSTD_MONETARYBENEFITTYPENAME;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE ADD (
  CONSTRAINT UQSTD_MONETARYBENEFITTYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE
  DROP CONSTRAINT PK_STD_MONETARYBENEFITTYPE;

ALTER TABLE SDSADM.STD_MONETARYBENEFITTYPE ADD (
  CONSTRAINT PK_STD_MONETARYBENEFITTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY
  DROP CONSTRAINT PK_STD_NPPESORGALIASTYPEHSTRY;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPEHISTORY ADD (
  CONSTRAINT PK_STD_NPPESORGALIASTYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE
  DROP CONSTRAINT UQSTD_NPPESORGALIASTYPALSTYPCD;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE ADD (
  CONSTRAINT UQSTD_NPPESORGALIASTYPALSTYPCD
  UNIQUE (ALIASTYPECODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE
  DROP CONSTRAINT PK_STD_NPPESORGALIASTYPE;

ALTER TABLE SDSADM.STD_NPPESORGALIASTYPE ADD (
  CONSTRAINT PK_STD_NPPESORGALIASTYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY
  DROP CONSTRAINT PK_STD_NPPESORGALTRSNHISTORY;

ALTER TABLE SDSADM.STD_NPPESORGALTRSNHISTORY ADD (
  CONSTRAINT PK_STD_NPPESORGALTRSNHISTORY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE
  DROP CONSTRAINT PK_STD_CORRESPONDENCETYPE;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE ADD (
  CONSTRAINT PK_STD_CORRESPONDENCETYPE
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY
  DROP CONSTRAINT PK_STD_CORRESPONDENCETYPEHSTRY;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPEHISTORY ADD (
  CONSTRAINT PK_STD_CORRESPONDENCETYPEHSTRY
  PRIMARY KEY
  (ID)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE
  DROP CONSTRAINT UQSTD_CORRESPONDENCETYPECODE;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE ADD (
  CONSTRAINT UQSTD_CORRESPONDENCETYPECODE
  UNIQUE (CODE)
  ENABLE VALIDATE);
ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE
  DROP CONSTRAINT UQSTD_CORRESPONDENCETYPENAME;

ALTER TABLE SDSADM.STD_CORRESPONDENCETYPE ADD (
  CONSTRAINT UQSTD_CORRESPONDENCETYPENAME
  UNIQUE (NAME)
  ENABLE VALIDATE);
