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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s