RossWindows
Que?
- Local time
- Yesterday, 20:41
- Joined
- Feb 25, 2008
- Messages
- 410
In the picture attached, there are two fields we're working with;
Address1 and DepartmentID
The picture shows two different queries that return the same results.
If you wanted to run this query where;
Address1 = "123 Fake St." and
DepartmentID = 28 or 29
Which method would be more efficicent, and why?
I think it would be the bottom method in the picture because it creates a simpler-looking SQL statement, but I have no theoretical basis to that hypothesis.
There was a real address that I had to black-out so just pretend it says "123 Fake St."
Address1 and DepartmentID
The picture shows two different queries that return the same results.
If you wanted to run this query where;
Address1 = "123 Fake St." and
DepartmentID = 28 or 29
Which method would be more efficicent, and why?
I think it would be the bottom method in the picture because it creates a simpler-looking SQL statement, but I have no theoretical basis to that hypothesis.
There was a real address that I had to black-out so just pretend it says "123 Fake St."