• Great article. Fits in with a project that I am working on.

    Just to try it out, I ran as script on my development machine (SQL Server 2005) without creating the proc and output the body content to text or a file.

    The output is greatly truncated at the Database Recovery Model section. Maybe some nulls getting concatenated somewhere?