• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

hourmin - orderby

In a column I store as varchar Hour and Minutes ("12:14","10:01", "11:15".)
I want to return all columns in correct order, i.e.   ("10:01","11:15", "12:14")
How is best to do that?
2 Solutions
Pratima PharandeCommented:
Select * from Table_Name
order by column_name desc
Reza RadCommented:
of course this:
Select * from Table_Name
order by column_name asc

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now