Solved

Update SQL Server 2008 Database Compatibility level

Posted on 2011-03-23
2
682 Views
Last Modified: 2012-05-11
Hello

I have several databases in a SQL Server 2008 environment that are still set at 90, and should be 100 (they are all Microsoft apps so no worries about application support).

Can I just change this in SQL Server Management Studio?  Or should I do this by TSQL - first place the DB in single user, then update compatibility, then set it back to Multi-user?

thanks

0
Comment
Question by:markymark10
2 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 350 total points
ID: 35200441
No need to change to single user.  YOu can set it through TSQL or in the UI.  No harm to be done either way (unless you're using features that have been removed).
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 35200460
for tsql:
ALTER DATABASE database_name SET COMPATIBILITY_LEVEL =90  

Open in new window


for older database systems:
EXEC sp_dbcmptlevel database_name, compatibility_level value;

Open in new window


0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now