The EXECUTE permission was denied on the object ‘sp_delete_database_backuphistory’, database ‘msdb’, schema ‘dbo’

So I got this error while working

permision denied

It says no permission on object sp_delete_database_backuphistory. I get it fixed from granting execution permission to above object


USE msdb;
GRANT EXEC ON dbo.sp_delete_database_backuphistory TO PUBLIC

Advertisements