• You can do it like this

    SELECTScheduledTime

    FROMSchedule

    ORDER BY CASE ScheduledTime

    WHEN 'Morning' THEN 1

    WHEN 'Afternoon' THEN 2

    WHEN 'Evening' THEN 3

    END


    Kingston Dhasian

    How to post data/code on a forum to get the best help - Jeff Moden
    http://www.sqlservercentral.com/articles/Best+Practices/61537/