Thanks for this offering.
Error messages are:
Msg 102, Level 15, State 1, Line 8
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 32
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 36
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 37
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 46
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 54
Incorrect syntax near '?'.