News
If you ever need to sort character strings stored in SQL Server fields, check out this demonstration of how to write a common sorting algorithm using SQL Server TSQL code.
Fortunately, SQL offers a number of clauses and operators for sorting, grouping, and summarizing. The following tips will help you discern when to sort, when to group, and when and how to summarize.
Is there anyway to I can get it to sort using numeric for those fields. We can look at this and see that .11 should sort after .2, but I'm not sure how to tell SQL to sort a text field like that ...
hmm ok well I ended up using substring to return just the last 2 characters as another column and then sorting on that rather then trying to do it all in one step in the order by clause. Thanks ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results