Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Compatibility Level

Author  Topic 

badpig521
Starting Member

14 Posts

Posted - 2007-12-07 : 11:07:40
Has anyone changed compatibility level from 80 to 90? Did you have any problems?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-12-07 : 11:11:33
Yes.
No.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

badpig521
Starting Member

14 Posts

Posted - 2007-12-07 : 11:24:11
quote:
Originally posted by Peso

Yes.
No.



E 12°55'05.25"
N 56°04'39.16"




Awesome, I was looking at SQL Books online and I wanted to see if anyone had issues that did not come up on BOL.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-12-07 : 23:30:39
Better to test it on dev server first.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-12-10 : 01:54:49
[code]select random,random,random
from
(
select rand() as random
) as t[/code]
Run the above in both the compatibilities and see

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

Zul
Starting Member

17 Posts

Posted - 2009-08-10 : 00:21:35
can any one show me how can i change compatibility level from 80 to 90?
are there any affect if i change the compatibility levet from 80 to 90?

Regards

Zul
Go to Top of Page

rajdaksha
Aged Yak Warrior

595 Posts

Posted - 2009-08-10 : 00:33:10
Hi

Are you using SQL SERVER 2000 you can use sp_dbcmptlevel

In sql server 2005/2008 you can use
ALTER DATABASE database_name
SET COMPATIBILITY_LEVEL = { 80 | 90 | 100 }

Is the version of SQL Server with which the database is to be made compatible.The value must be one of the following:

80 = SQL Server 2000

90 = SQL Server 2005

100 = SQL Server 2008

Effect of compatibility level on ORDER BY clause

So you can see the difference in order by clause..





-------------------------
R..
http://code.msdn.microsoft.com/SQLExamples/
http://msdn.microsoft.com/hi-in/library/bb500155(en-us).aspx
Go to Top of Page

Zul
Starting Member

17 Posts

Posted - 2009-08-13 : 23:38:33
im using sql 2005.
in my database i use sql server 2005 environment, but in compatibility level the database is use compatibility level 80, i want to change it into 90. are there any effect if i change the compatibility level?
are the struktur of my database change to if i change to 90?
what the difrence of compatibility level 80 and 90?

thanks for yuor answer
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-08-14 : 00:35:41
If you don't know the potential issues, might want to run the upgrade advisor. http://msdn.microsoft.com/en-us/library/ms144256(SQL.90).aspx
Go to Top of Page
   

- Advertisement -