DB Maintenance Plans

  • OK guys...who wants to take a shot at this.....simple problem but with no explanation..

    I am trying to run sp_help_maintenance_plan procedure from query analyzer and sql server refuses to recognize it. Its one of sql server built in SP's.

    Is it one more boo boo of Microsoft or its something I am doing wrong.

    Can somebody run and let me know.....if it get recognized on their end.

    Thanks


    Tajammal Butt

  • sp_% procs are available anywhere only if they exist in the master db.  That proc is in the MSDB database so you'll need to qualify it:

    exec msdb..sp_help_maintenance_plan

  • Thanks..you were right at mark....BOL should say something about this.

    Thanks once again


    Tajammal Butt

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply