简体   繁体   中英

SQL Server 2014 compatibility feature is not working with 2008

I'm using SQL Server 2014 in the dev environment. But, my clients are using SQL Server 2008 and they are having problems with some scripts, like the keyword CONCAT which is not compatible with SQL Server 2008.

I corrected the concat problem, but how can I prevent this kind of problems.

I've tried to activate the compatibility level to : SQL Server 2008 (100)

在此处输入图片说明

But when I execute a query containing CONCAT keyword, it doesn't give me an error which it should not be recognized.

Is there something else I can configure in my SQL Server to force it to accept only SQL Server 2008 compatible queries ?

If you change the compatibility to SQL Server 2008 (100) means all the features from SQL Server 2008 till your current instance version(in your case it is SQL Server 2014) is accessible. As of i know, there is no way to force the SQL Server to limit to use of features of SQL Server 2008 alone in SQL Server 2014 instance.

You can make the current instance to make use of earlier version features through Compatibility settings(Compatibility settings exist for this purpose only) but no way to force the instance of SQL Server 2014 to abide only to SQL Server 2008 features.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM