I have a cloumn nDays type nVarchar(50)in a table
some entries are like "1 & 2" and some are single numbers like "12" or "1".
If I execute "SELECT news.nDays FROM News ORDER BY nDays"
it orders the results by the leading digit.
For example, five rows may contain thevalues:
1,1 & 2,5,11,23
returning the results:
1
1 & 2
11
23
5
anyone know why this happens and how to get it to order normally??
thanks
some entries are like "1 & 2" and some are single numbers like "12" or "1".
If I execute "SELECT news.nDays FROM News ORDER BY nDays"
it orders the results by the leading digit.
For example, five rows may contain thevalues:
1,1 & 2,5,11,23
returning the results:
1
1 & 2
11
23
5
anyone know why this happens and how to get it to order normally??
thanks