How do I assign a distinct unique number to each field returned. I prefer to do it in sql and not create an index as the table as I do not have sole control of the table. In the below desired output description this would be RowIndex.
SQL 2000
Statement to add rowindex to:
select distinct(Description) as LawSpecialty from lawspecialty
desired output
LawSpecialty RowIndex
Bankrupcy 1
Divorce 2
Start Free Trial