• I'm inserting the output of

    EXECUTE ('DBCC CHECKDB([' + @DBname + ']) WITH TABLERESULTS');

    In 2012 there's additional columns. Trying to make the script I use in 2008 work with 2012 so I only have to maintain 1 script.

    I ended up creating 2 different temp tables, based on the version, and then had to use if logic for all of my statements. 🙁