• Row_Number() was introduced in SQL 2005. Are you on that or is your SQL Server 2000?

    Ken