Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set SQL Server Syntax

Is it possible to set SQL Server 2008 R2 to just accept the ANSI SQL-92 syntax ?

So, when I do query using ANSI SQL-89 syntax, It will show some error.

If yes, how to do that ?

Thanks in Advance

like image 290
adaapanya Avatar asked Mar 23 '26 18:03

adaapanya


1 Answers

No, but you can monitor for the use of deprecated features by using the SQL Server Deprecated Features Object performance counter and trace events. You won't get realtime warnings, but you don't want that anyway - it would break your apps. Instead, you just want to monitor afterwards to see what code you need to go fix.

like image 101
Brent Ozar Avatar answered Mar 25 '26 23:03

Brent Ozar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!