Question : XP_SQLMAINT

Hi, can you call xp_sqlmaint without a plan id? I am trying to write my own script using xp_sqlmaint outside of any maintenance plan. Is that possible?

Answer : XP_SQLMAINT

Yes, this is possible:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/coprompt/cp_sqlmaint_19ix.asp
Random Solutions  
 
programming4us programming4us