Skip to content
Advertisement

Sort a VARCHAR column in SQL Server that contains numbers?

I have a column in which data has letters with numbers.

For example:

When sorting this data, it is not sorted correctly, how can I fix this? I made a request but it doesn’t sort correctly.

enter image description here

Advertisement

Answer

This should work

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement