Unix Technical Forum

Order by Mixed Alpha/Numeric

This is a discussion on Order by Mixed Alpha/Numeric within the MySQL General forum forums, part of the MySQL category; --> Hello, we have a column in a table, called tag numbers, which start with numerical and alpha characters, IE: ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:02 AM
Mike Blezien
 
Posts: n/a
Default Order by Mixed Alpha/Numeric

Hello,

we have a column in a table, called tag numbers, which start with numerical and
alpha characters, IE:

012345
123456
LH12345
KB055698
47899901
MO558585
........ etc.

now what I need to do is to display all the tag numbers, but order by their
alpha prefix, either DESC or ASC. What is the correct syntax to order by the
alpha characters, first??

TIA,

Mike(mickalo)Blezien
===============================
Thunder Rain Internet Publishing
Providing Internet Solution that Work
http://www.thunder-rain.com
===============================

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com