Attention
Error while accessing the database
[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ')'.
select count(*) from dbo.Events where (UserId = )