@@ -841,12 +841,12 @@ BEGIN
841
841
)
842
842
BEGIN
843
843
RAISERROR(' Found synonym DeadlockFindings, dropping' , 0 , 1 ) WITH NOWAIT;
844
- DROP SYNONYM DeadlockFindings;
844
+ DROP SYNONYM dbo . DeadlockFindings ;
845
845
END;
846
846
847
847
RAISERROR(' Creating synonym DeadlockFindings' , 0 , 1 ) WITH NOWAIT;
848
848
SET @StringToExecute =
849
- N' CREATE SYNONYM DeadlockFindings FOR ' +
849
+ N' CREATE SYNONYM dbo. DeadlockFindings FOR ' +
850
850
@OutputDatabaseName +
851
851
N' .' +
852
852
@OutputSchemaName +
@@ -868,12 +868,12 @@ BEGIN
868
868
)
869
869
BEGIN
870
870
RAISERROR(' Found synonym DeadLockTbl, dropping' , 0 , 1 ) WITH NOWAIT;
871
- DROP SYNONYM DeadLockTbl;
871
+ DROP SYNONYM dbo . DeadLockTbl ;
872
872
END;
873
873
874
874
RAISERROR(' Creating synonym DeadLockTbl' , 0 , 1 ) WITH NOWAIT;
875
875
SET @StringToExecute =
876
- N' CREATE SYNONYM DeadLockTbl FOR ' +
876
+ N' CREATE SYNONYM dbo. DeadLockTbl FOR ' +
877
877
@OutputDatabaseName +
878
878
N' .' +
879
879
@OutputSchemaName +
@@ -4103,7 +4103,7 @@ BEGIN
4103
4103
4104
4104
RAISERROR(' Finished at %s' , 0 , 1 , @d) WITH NOWAIT;
4105
4105
4106
- DROP SYNONYM DeadLockTbl;
4106
+ DROP SYNONYM dbo . DeadLockTbl ;
4107
4107
4108
4108
SET @d = CONVERT (varchar (40 ), GETDATE(), 109 );
4109
4109
RAISERROR(' Findings to table %s' , 0 , 1 , @d) WITH NOWAIT;
@@ -4133,7 +4133,7 @@ BEGIN
4133
4133
4134
4134
RAISERROR(' Finished at %s' , 0 , 1 , @d) WITH NOWAIT;
4135
4135
4136
- DROP SYNONYM DeadlockFindings; /* done with inserting.*/
4136
+ DROP SYNONYM dbo . DeadlockFindings ; /* done with inserting.*/
4137
4137
END;
4138
4138
ELSE /* Output to database is not set output to client app*/
4139
4139
BEGIN
0 commit comments