• Thanks GSC_DBA

    That is really Great!! I tried using MS_ForEachDatabase, but could not get it working correctly. I was missing something in the dynamic code, and could not get it correct.

    I will give this a try and see if this works. It looks better than what I have written 🙂

    I greatly appreciate your time, code, comment and suggestion.

    Andrew SQLDBA