• steven.chester (5/11/2011)


    What's funny is that I couldn't pick my first answer: a syntax error. There's a superfluous comma in the DDL for the table.

    That comma does not generate any error when the code is executed as listed in the QOTD. 😛

    Of course you would need to execute this command before you execute the QOTD SQL to test that. Don't forget to replace parameters.

    CREATE SCHEMA PLAYGROUND AUTHORIZATION <Your User Name, sysname, DBuser>

    GO