/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
EXEC p_DropIdx 'idx_bas_attachment_02', 'T_BAS_ATTACHMENT';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_ATTACHMENT_02') CREATE INDEX IDX_BAS_ATTACHMENT_02 ON T_BAS_ATTACHMENT ( FBILLTYPE ,FINTERID ,FATTACHMENTPANEL );


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