Compatibility levels are designed to work the other way around: for an older version of T-SQL to work unchanged in a newer version of SQL Server. Changes typically include T-SQL syntax and reserved words, and you can use SQL Server 2005 features such as INCLUDED columns in indexes in a database at compatibility level 80. However, you cannot use T-SQL 2005 features such as CROSS .
Your best option is to develop / test all your code on an instance of SQL Server 2000. Note that you can use 2005 Management Studio to connect to an instance of SQL Server 2000, so you donβt have to go back in terms of tools.
source share