Just out of curiosity, I was wondering if there are any speed/efficiency differences in using [=
] versus [in
] versus [like
] versus [
The best practice for any question about what would be faster, is to measure. SQL engines are notoriously difficult to predict. You can look at the output of EXPLAIN PLAN to get a sense of it, but in the end, only measuring the performance on real data will tell you what you need to know.
In theory, a SQL engine could implement all three of these exactly the same, but they may not.