/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCCIT_HDZS_B_2015', 'T_TCCIT_HDZS_B_2015', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_HDZS_B_2015') CREATE  CLUSTERED INDEX IDX_TCCIT_HDZS_B_2015 ON T_TCCIT_HDZS_B_2015 ( FSBBID );


 EXEC P_ALTERPK 'PK_TCCIT_HSQJSBB_B_2018', 'T_TCCIT_HSQJSBB_B_2018', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_HSQJSBB_B_2018') CREATE  CLUSTERED INDEX IDX_TCCIT_HSQJSBB_B_2018 ON T_TCCIT_HSQJSBB_B_2018 ( FSBBID );



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