I have a django project and I am getting an SQL error. This SQL error is coming when userIDs are passed to the SQL query by a parameter(%empids%). However, if I hard code the userIDs in the SQL query, everything works fine.
I am sure userIDs are passed to the SQL query by the parameter (%empids%) properly, since the logs show it. I am suspecting it may be a data type issue, but not sure.
I am not able to share the entire project with you (legal issues), but I can share the relevant code segment.