I have a stored procedure which executes a select statement. I would like my results ordered by a date field and display all records with NULL dates first and then the most
Standard SQL (ISO/IEC 9075-2:2003 or later - 2008) provides for:
ORDER BY SomeColumn NULLS FIRST
Most DBMS do not actually support this yet, AFAIK.