sql server - Increment field in Select statement -
I have some data that I do not have a group statement, and do not want to make a group statement in it, but I Would like a salary increment field, so I can do a reporting service zebra table.
So, how do I change this data:
Some other Europe in the regional country office Austria Austria 12 2 Asia India Delhi 22 4 < Code> Area in the country somedata someotherdata IncField Europe Austria Vienna 12 2 1 Asia India Delhi 22 4 2 You can try to use
SELECT ROW_NUMBER (works with SQL Server 2005 and 2008 [edit]
< / Html>
Comments
Post a Comment