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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_QYSDS_EXT_DYN') CREATE INDEX IDX_TCCIT_QYSDS_EXT_DYN ON T_TCCIT_QYSDS_EXT_DYN ( FSBBID ,FEWBLXH );


 EXEC P_ALTERPK 'PK_TCCIT_QYSDS_EXT_DYN2', 'T_TCCIT_QYSDS_EXT_DYN2', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_QYSDS_EXT_DYN2') CREATE INDEX IDX_TCCIT_QYSDS_EXT_DYN2 ON T_TCCIT_QYSDS_EXT_DYN2 ( FSBBID ,FEWBLXH );


 EXEC P_ALTERPK 'PK_TCCIT_QYSDS_EXT_DYN3', 'T_TCCIT_QYSDS_EXT_DYN3', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_QYSDS_EXT_DYN3') CREATE INDEX IDX_TCCIT_QYSDS_EXT_DYN3 ON T_TCCIT_QYSDS_EXT_DYN3 ( FSBBID ,FEWBLXH );



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