• I'm on SQL 2008:

    When I exec I get:

    Msg 102, Level 15, State 1, Line 35

    Incorrect syntax near 'Schema_Name'.

    Msg 102, Level 15, State 1, Line 37

    Incorrect syntax near 'obje'.