LIKE vs INSTR
So I have heard that INSTR is an efficient way of comparing text and should be faster than LIKE. When trying to speed up a query with a runtime of ~45 seconds which had the line:
EM.EMP NOT LIKE 'JOB' || '%'
I replaced it with:
INSTR(EM.EMP, 'JOB' ) = 0
the query took somewhere around 4 minutes to run. Any idea why the query would take so long to use INSTR?