/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCTB_constraint.sql **/
EXEC p_DropIdx 'IDX_T_TCTB_BD_REGISTERTYPE_L', 'T_TCTB_BD_REGISTERTYPE_L';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_TCTB_BD_REGISTERTYPE_L') CREATE  CLUSTERED INDEX IDX_T_TCTB_BD_REGISTERTYPE_L ON T_TCTB_BD_REGISTERTYPE_L ( FID ,FLOCALEID );


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