• Sue_H - Wednesday, July 26, 2017 5:40 PM

    francesco.mantovani - Wednesday, July 26, 2017 4:43 PM

    The script is not working on SSMS 2016

    It looks like you are in master when you are executing the script. You would need to be in msdb.

    Sue

    Yes, you were right, I was in a Master but then run the same script on a database and I received the same error