I have a date column which has some NULL. I want to order by the date column ASC, but I need the NULL s to be at the bottom. How to do it on
NULL
Select * From YourTable Order By case when DateCol is null then 0 else 1 end ,DateCol
Or even Order By IsNull(DateCol,'2525-12-31')
Order By IsNull(DateCol,'2525-12-31')