• Thank you for the modification . Yes we need to make those changes to include databases that have spaces.

    Regards
    Shashank Srivastava
    MCITP - SQL SERVER 2008
    INDIA
    Follow me @ http://shashanksrivastavasqldba.blogspot.com/