• Remember that select define execution plan, soo order by can change. That's way you need to put it in select statment.

    -

    Lic. Andrés M. Aiello

    DBA MSSQL - Oracle

    http://aiellodba.blogspot.com/