/**Begin D:\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\PDM1\TCTB_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCTB_DRAFT_MAIN_ATT', 'T_TCTB_DRAFT_MAIN_ATT', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCTB_DRAFT_MAIN_ATT_FID') CREATE INDEX IDX_T_TCTB_DRAFT_MAIN_ATT_FID ON T_TCTB_DRAFT_MAIN_ATT ( FID );



/**End D:\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\PDM1\TCTB_constraint.sql **/
