SQL Server 2005 compatibility changes