I have one database named TransportDB whose compatibility level is set to SQL Server 2000 (80). I want to change the compatibility level of this DB to SQL Server 2005 (90) or 2008 (100), but when I go to change this using Properties–>Options–>Compatibility level, I found that this compatibility level option is disabled i.e. I can’t change the compatibility level.
I want to know how to change compatibility level and if I will change it, will this effect my current database or records in any way?
Try this SQL
You can use different values for
@new_cmptlevelof course.