I have Created job with below script
SET ARITHABORT OFF
SET NOCOUNT ON
PRINT ''
PRINT ''
PRINT ''
declare @DBName sysname
declare @sql nvarchar(1000)
set @DBName =''
while @DBName is not null
BEGIN
select @DBName = Min(name) from master.sys.databases
where...