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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_DG_A100000_7_DET') CREATE INDEX IDX_TCCIT_DG_A100000_7_DET ON T_TCCIT_DG_A100000_7_DET ( FORGID ,FSKSSQQ ,FSKSSQZ );


 EXEC P_ALTERPK 'PK_TCCIT_DG_A100000_7_SUM', 'T_TCCIT_DG_A100000_7_SUM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_DG_A100000_7_SUM') CREATE INDEX IDX_TCCIT_DG_A100000_7_SUM ON T_TCCIT_DG_A100000_7_SUM ( FORGID ,FSKSSQQ ,FSKSSQZ );


 EXEC P_ALTERPK 'PK_TCCIT_DKYNSSDE_AJUST', 'T_TCCIT_DKYNSSDE_AJUST', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_DKYNSSDE_AJUST') CREATE INDEX IDX_TCCIT_DKYNSSDE_AJUST ON T_TCCIT_DKYNSSDE_AJUST ( FORGID ,FSKSSQQ ,FSKSSQZ );


 

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