I’m trying to run this t-sql but it gives me this error:
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 9
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 14
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 19
Incorrect syntax near '?'.