row_number() c'è dal 2005

http://stackoverflow.com/questions/3...ql-server-2005