Hi everyone,
we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:
RAISERROR 50001 'Error during execution of task XXXXXX'
Obviously, this sintax is not working in SQL 2012.
Our problem is because the procedures was made since version SQL 6.5 and we upgrade first to SQL 7.0, then to SQL 2000, SQL 2005, SQL 2008 and finally to SQL 2008 R2, I mean, is about 20 years of developmet, near 1500 stored procedures working in the database, hundred thousands lines of code. And now, my question is, it is possible to change in a automated way (not manually please) all the RAISERROR in the database? Or may we to put the compatibility level to SQL 2008(100) and avoid change the RAISERROR sintax?