Código SQL:
Ver originalCREATE TABLE #temp
(
sso VARCHAR(30)
)
INSERT INTO #temp VALUES ('99290625')
INSERT INTO #temp VALUES ('10290834')
INSERT INTO #temp VALUES ('90290826')
INSERT INTO #temp VALUES ('10290934')
INSERT INTO #temp VALUES ('10290835')
SELECT CONVERT(INT,sso) FROM #temp
GROUP BY CONVERT(INT,sso)
ORDER BY CONVERT(INT,sso) ASC
Saludos!!