select name, right(name, len(name) - charindex('_', name)...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select name, right(name, len(name) - charindex('_', name)) ,type_desc, is_unique
from sys.indexes
where name not like 'queue%'
order by right(name, len(name) - charindex('_', name))

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results