• Msg 102, Level 15, State 1, Line 84

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 87

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 94

    Incorrect syntax near '?'.

    Msg 156, Level 15, State 1, Line 108

    Incorrect syntax near the keyword 'CLOSE'.

    Msg 102, Level 15, State 1, Line 53

    Incorrect syntax near '?'.

    Msg 156, Level 15, State 1, Line 59

    Incorrect syntax near the keyword 'SET'.