'ORDER BY 0' does not work, where 'ORDER BY 1' (or 2 or 5) works (as long as you point to exsisting field in a recordset) because fields in recordset start with 1, and not 0 as some would expect. It is pretty handy when - as you said - you may not know the name of the field, but you do know its position. It also comes handy with UNIONs statements.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.