Query IN operator ERROR

I can’t get the ‘in’ condition to work in a query. I tried it in both PHP and ASP.NET and both are producing errors when I try to open it in a browser.

Here is my query:

This is the error from an ASP.NET project:

Here is the error from a PHP project:

I should mention that I can run the query directly in SSMS and it works fine.

Community Page
Last updated: