• I got this error from that code:

    Msg 102, Level 15, State 1, Line 7

    Incorrect syntax near '–'.