SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Other SQL Server 2012 Topics
 COMPATIBILITY LEVEL can't = 110
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

plaster502
Starting Member

Vietnam
1 Posts

Posted - 07/21/2014 :  16:20:03  Show Profile  Reply with Quote
I using sql server 2012 but my compatibility level can't up to 110 and I can't use LAG and LEAD recognized built-in function

Please, Help my :(

this is my pic of problem

http://up.ssc.vn/images/703Screenshot_143_.png


// sorry for my english not good

TR?N CÔNG TH?C

tkizer
Almighty SQL Goddess

USA
37157 Posts

Posted - 07/21/2014 :  16:30:52  Show Profile  Visit tkizer's Homepage  Reply with Quote
http://www.sqlservercentral.com/articles/Best+Practices/61537/

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 08/02/2014 :  06:08:41  Show Profile  Reply with Quote
First check if server you're connecting to is of version 2012. It may be that its on sql 2008 but the client tool you use (SQL Management studio) might be of version 2012

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000