@@ -841,12 +841,12 @@ BEGIN
841841 )
842842 BEGIN
843843 RAISERROR(' Found synonym DeadlockFindings, dropping' , 0 , 1 ) WITH NOWAIT;
844- DROP SYNONYM DeadlockFindings;
844+ DROP SYNONYM dbo . DeadlockFindings ;
845845 END;
846846
847847 RAISERROR(' Creating synonym DeadlockFindings' , 0 , 1 ) WITH NOWAIT;
848848 SET @StringToExecute =
849- N' CREATE SYNONYM DeadlockFindings FOR ' +
849+ N' CREATE SYNONYM dbo. DeadlockFindings FOR ' +
850850 @OutputDatabaseName +
851851 N' .' +
852852 @OutputSchemaName +
@@ -868,12 +868,12 @@ BEGIN
868868 )
869869 BEGIN
870870 RAISERROR(' Found synonym DeadLockTbl, dropping' , 0 , 1 ) WITH NOWAIT;
871- DROP SYNONYM DeadLockTbl;
871+ DROP SYNONYM dbo . DeadLockTbl ;
872872 END;
873873
874874 RAISERROR(' Creating synonym DeadLockTbl' , 0 , 1 ) WITH NOWAIT;
875875 SET @StringToExecute =
876- N' CREATE SYNONYM DeadLockTbl FOR ' +
876+ N' CREATE SYNONYM dbo. DeadLockTbl FOR ' +
877877 @OutputDatabaseName +
878878 N' .' +
879879 @OutputSchemaName +
@@ -4103,7 +4103,7 @@ BEGIN
41034103
41044104 RAISERROR(' Finished at %s' , 0 , 1 , @d) WITH NOWAIT;
41054105
4106- DROP SYNONYM DeadLockTbl;
4106+ DROP SYNONYM dbo . DeadLockTbl ;
41074107
41084108 SET @d = CONVERT (varchar (40 ), GETDATE(), 109 );
41094109 RAISERROR(' Findings to table %s' , 0 , 1 , @d) WITH NOWAIT;
@@ -4133,7 +4133,7 @@ BEGIN
41334133
41344134 RAISERROR(' Finished at %s' , 0 , 1 , @d) WITH NOWAIT;
41354135
4136- DROP SYNONYM DeadlockFindings; /* done with inserting.*/
4136+ DROP SYNONYM dbo . DeadlockFindings ; /* done with inserting.*/
41374137 END;
41384138 ELSE /* Output to database is not set output to client app*/
41394139 BEGIN
0 commit comments