/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCTB_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCTB_TAX_CREDITRATING', 'T_TCTB_TAX_CREDITRATING', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCTB_TAX_CREDITRATING_FK') CREATE  CLUSTERED INDEX IDX_TCTB_TAX_CREDITRATING_FK ON T_TCTB_TAX_CREDITRATING ( FID );


 EXEC P_ALTERPK 'PK_TCTB_PER_INFORMATION', 'T_TCTB_PER_INFORMATION', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCTB_PER_INFORMATION_FK') CREATE  CLUSTERED INDEX IDX_TCTB_PER_INFORMATION_FK ON T_TCTB_PER_INFORMATION ( FID );



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