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


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