/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCTB_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCTB_CATEGORYINFO_TEMP', 'T_TCTB_CATEGORYINFO_TEMP', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCTB_CATEGORYINFO_TEMP') CREATE  CLUSTERED INDEX IDX_T_TCTB_CATEGORYINFO_TEMP ON T_TCTB_CATEGORYINFO_TEMP ( FKEYID );


 EXEC P_ALTERPK 'PK_TCTB_TAX_INFO_BASIC', 'T_TCTB_TAX_INFO_BASIC', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCTB_TAX_INFO_BASIC') CREATE  CLUSTERED INDEX IDX_T_TCTB_TAX_INFO_BASIC ON T_TCTB_TAX_INFO_BASIC ( FNUMBER );



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