/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MATERIAL_L_NAME') CREATE INDEX IDX_BD_MATERIAL_L_NAME ON T_BD_MATERIAL_L ( FNAME );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MATERIAL_L_MODEL') CREATE INDEX IDX_BD_MATERIAL_L_MODEL ON T_BD_MATERIAL_L ( FMODEL );

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