• Nice script Adam, but I found another typo. About line 257, you'll find the following:

    + QUOTENAME(@COLUMN_NAME) + ')

    ,NULL

    ,NLL

    ,NULL

    NLL should be NULL, right?

    Thanks for the script though. It works great after I cleaned up the 2 typos. 🙂