datAdrenaline
AWF VIP
- Local time
- Today, 11:46
- Joined
- Jun 23, 2008
- Messages
- 697
Just a quick note ... JET only looks at the last value for ties ... so for example ...
SELECT TOP 5 SomeField FROM SomeTable ORDER BY SomeField ASC
Can possibly yeild the following if the 6th row is > 200
SomeField
---------
100
100
100
100
200
But if the 6th row equals 200 .. you will get:
SomeField
---------
100
100
100
100
200
200
I just wanted to make sure that was noted as many don't realize the mechanism behind it.
SELECT TOP 5 SomeField FROM SomeTable ORDER BY SomeField ASC
Can possibly yeild the following if the 6th row is > 200
SomeField
---------
100
100
100
100
200
But if the 6th row equals 200 .. you will get:
SomeField
---------
100
100
100
100
200
200
I just wanted to make sure that was noted as many don't realize the mechanism behind it.