Solved

Update SQL Server 2008 Database Compatibility level

Posted on 2011-03-23
2
690 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 143

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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