View Single Post
  #3 (permalink)  
Old 2006-02-15, 10:38 AM
sindiglo sindiglo is offline
Junior Member
 
Join Date: Feb 2006
Posts: 2
sindiglo
Default

I think I have it!

SELECT * FROM teams where team_div='C' order by SUBSTRING(team_num,2)+0

Substring selects the remaining characters starting at the second. Then I convert the string to an integer by adding 0.

Bingo!

B) B) B)
Reply With Quote