ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = { 90 | 100 | 110 | 120 }
http://msdn.microsoft.com/en-us/library/bb510680.aspx