Change the database compatibility level to 100 for all existing databases that will be upgraded from an earlier version of Microsoft SQL Server. All new configurations created against Microsoft SQL Server 2008 databases will have the correct value.
To set the database compatibility level:
sp_dbcmptlevel @dbname = name,@new_cmptlevel = version]