Hi,
we are facing an issue with SQL server 2012, please find below details about the issue,
we use service broker to communicate between SQL servers, when we create service broker between servers , we use Alter database scripts as below
ALTER DATABASE databasename SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE databasename SET NEW_BROKER
GO
ALTER DATABASE databasename SET RECOVERY SIMPLE
GO
ALTER DATABASE databasename SET TRUSTWORTHY ON
GO
ALTER DATABASE databasename SET MULTI_USER
After this statements, execution engine stored procedure is failing. We identifiedIncorrect syntax near 'BEGI' in SQL 2012 is logged in profiler traces
Please help us understand what’s wrong? , if we alter execution engine stored proc this issue is getting resolved
Thanks
Dyanesh