Query failed 37000 - [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Incorrect syntax near ')'.