I am moving an app from SQL Server 2008 to SQL Server 2012 Express, and all is well but several stored procedures are saying I have a syntax error. I have looked online and have not found an answer – are there types of syntax that are supported in SQL Server 2008 (Standard) but not in SQL Server 2012 Express?
Share
I guess there is one possibility, if in 2008 you were using 2000 compatibility mode, and your stored procedures had old-style outer joins:
This syntax works in SQL Server 2000, but has been deprecated since then. In 2005, 2008 and 2008 R2 you could shoe-horn it in if you use 80 compatibility mode. As of SQL Server 2012, you can no longer use 80 compat mode, so the above code would fail with:
In 2008, you would get this error message instead:
But if you alter the database as suggested in the error message, it would work:
This seems like a stretch. But without some real information it’s about the only guess I have.