Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 ORDER BY

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-04-29 : 21:44:19
Prasad writes "

I would like to ORDER BY Field1, Field2 - with the null values in Field2 coming up last as below:

Field1 Field2
1          1
1          2
1          3
1          NULL
1          NULL
1          NULL

But NULL always comes up first ...
Any suggestions? - I'd appreciate your help.
Regards,
Prasad."
   

- Advertisement -