Jump to content

alpha numeric sort in mysql..?


vijayfreaks

Recommended Posts

Hi..

i have design number is there in mysql its varchar(Alphanumeric values)

 

like

 

B1122

B1119

B1117

B1116

B1115

B1111

B1105

A158

A157

B1104

B1103

 

how to get the natural order of this design number.

i added 3 item A1,A11,A2 when i write order by class its giving like A1,A11,A2 but actuval order is A1,A2,A11

 

how to get that order via query in mysql?

hope u understand my problem?

 

Regards,

Vijay

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.