Skip to content

Commit e365481

Browse files
committed
fix: wrong data type conversion
1 parent 93be857 commit e365481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sp_AllNightLog.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ IF (@PollDiskForNewDatabases = 1 OR @Restore = 1) AND OBJECT_ID('msdb.dbo.restor
238238
239239
END /* IF CHARINDEX('**', @restore_path_base) <> 0 */
240240
241-
SELECT @restore_move_files = CONVERT(NVARCHAR(512), configuration_setting)
241+
SELECT @restore_move_files = CONVERT(BIT, configuration_setting)
242242
FROM msdb.dbo.restore_configuration c
243243
WHERE configuration_name = N'move files';
244244

0 commit comments

Comments
 (0)