We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c90010e + 8f5b195 commit 3fe6a96Copy full SHA for 3fe6a96
sp_DatabaseRestore.sql
@@ -240,7 +240,7 @@ END;
240
241
BEGIN TRY
242
DECLARE @CurrentDatabaseContext AS VARCHAR(128) = (SELECT DB_NAME());
243
-DECLARE @CommandExecuteCheck VARCHAR(315)
+DECLARE @CommandExecuteCheck VARCHAR(400);
244
245
SET @CommandExecuteCheck = 'IF NOT EXISTS (SELECT name FROM ' +@CurrentDatabaseContext+'.sys.objects WHERE type = ''P'' AND name = ''CommandExecute'')
246
BEGIN
0 commit comments