P
Per-Olov Jernberg
Ok, just found this weird bug/feature when i was testing another thing
I have one table, named "Test" with two columns, one named "Created"
(Date-time column) and one dummy-column named "Biff" (Text-column) with
the following data:
Created Biff
2004-01-01 nothing
2004-02-01 nothing
2004-03-03 nothing
2004-03-03 nothing
2004-05-05 nothing
Then if i run this query:
SELECT TOP 3 Created FROM Test ORDER BY Created;
You'd expect 3 rows retured, but noooo, it's 4 rows returned:
Created
2004-01-01
2004-02-01
2004-03-03
2004-03-03
Well well, nothing serious happened but can someone explain this, i'm
guessing it's a bug since "TOP 3" should filter the results AFTER it's
rearranged with "ORDER BY", right?
Would be nice to see if anyone else is experiencing the same bug?
I have one table, named "Test" with two columns, one named "Created"
(Date-time column) and one dummy-column named "Biff" (Text-column) with
the following data:
Created Biff
2004-01-01 nothing
2004-02-01 nothing
2004-03-03 nothing
2004-03-03 nothing
2004-05-05 nothing
Then if i run this query:
SELECT TOP 3 Created FROM Test ORDER BY Created;
You'd expect 3 rows retured, but noooo, it's 4 rows returned:
Created
2004-01-01
2004-02-01
2004-03-03
2004-03-03
Well well, nothing serious happened but can someone explain this, i'm
guessing it's a bug since "TOP 3" should filter the results AFTER it's
rearranged with "ORDER BY", right?
Would be nice to see if anyone else is experiencing the same bug?