Because of your like statement the index is not used. Try without the like statement and then after delete where objnr(2) <> 'OR'.
Maybe that will help.
Because of your like statement the index is not used. Try without the like statement and then after delete where objnr(2) <> 'OR'.
Maybe that will help.