I have a job which executes the following sql. Just wondering where is it getting the plan id from. Is it just a random number being generated. I also have database maintenance defined as category in the job.
Any help will be greatly appreciated.
Thanks
EXECUTE master.dbo.xp_sqlmaint N'-PlanID 91E8D659-771A-4767-A609-2CE9E3C0E9C5 -To "USRUSTL_ADMN" -Rpt "C:\MSSQL\BACKUP\XXXDatabase\Output\XXXDatabase.txt" -DelTxtRpt 4WEEKS -WriteHistory -RebldIdx 100 '