Are conditions in SQL statements processed in a specific order? Or just the order they are listed in?
If they are processed in the order they are listed, is it faster to do the filter conditions before the key comparisons?
For example, would...
"SELECT table1.fieldA from table1, table2 where tabletable2.ItemType = 2 AND table1.ItemNum = table2.ItemNum"
be faster than....
"SELECT table1.fieldA from table1, table2 where table1.ItemNum = table2.ItemNum AND tabletable2.ItemType = 2"
If they are processed in the order they are listed, is it faster to do the filter conditions before the key comparisons?
For example, would...
"SELECT table1.fieldA from table1, table2 where tabletable2.ItemType = 2 AND table1.ItemNum = table2.ItemNum"
be faster than....
"SELECT table1.fieldA from table1, table2 where table1.ItemNum = table2.ItemNum AND tabletable2.ItemType = 2"