Browse by Tags

All Tags » sorting (RSS)

Ordering Interger values stored in Varchar column

I have seen many newbies asking "How do I sort the numbers stored in varchar columns?" Here are some methods declare @t table ( data varchar ( 15 )) insert into @t select '6134' union all select '144' union all select '7345'...
Posted by Madhivanan | 2 comment(s)
Filed under: , ,