Viewing 7 posts - 1 through 8 (of 8 total)
I tried cast('SQL' as nvarchar(5)) as DB_Type and cast('PROD' as nvarchar(5)) as DB_Env in both IF & ELSE clause but no luck.
September 24, 2015 at 6:33 pm
Is this something new in SQL 2014? This was running fine from very long time on all older versions of SQL even on 2012.
Thanks
Kowsalya
September 24, 2015 at 6:24 pm
Thanks,I have it as work around but could you please help me with what is the problem with my query have been trying to figure it out.
Thanks
Kowsalya
September 24, 2015 at 8:57 am
Here is the final query
IF ((select count(*) from msdb..backupset) > 0)
BEGIN
select @@servername as Instance,
b.database_name as Database_name, max(b.backup_finish_date) as Backup_Date,
Backup_Type =
CASE b.[type]
...
September 24, 2015 at 2:47 am
No luck, its failing with the same error. After changing to cast and using exists
September 23, 2015 at 7:06 pm
SQL job owner is sa and running with SQL server service account
August 15, 2015 at 12:29 am
Thanks for your reply.
I'm using SQLSafe for backups, when recovery model is changed from simple to full or full to simple and then try to run a diff/log my backup...
October 16, 2014 at 9:49 am
Viewing 7 posts - 1 through 8 (of 8 total)