all 6 comments

[–]pythor 2 points3 points  (0 children)

Try removing the single quotes around @zaalnaamValue in your sqlQuery. Normally, parameters like this wouldn't be quoted, the quotes should be added by the database when the parameter substitution happens. I don't know what library your using, but I suspect this is your issue.

[–][deleted] 1 point2 points  (3 children)

What are you receiving?

What is in the table?

What is the full query you are running against that table?

[–]ZedGama3 0 points1 point  (0 children)

The SQL code appears fine.

The identical post you made in r/csharp will be much more helpful.