/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCCIT_RULE_NBCHILD', 'T_TCCIT_RULE_NBCHILD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCCIT_RULE_NBCHILD_1') CREATE INDEX IDX_T_TCCIT_RULE_NBCHILD_1 ON T_TCCIT_RULE_NBCHILD ( FENTRYID );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_constraint.sql **/
