I have a list of of 954 values that I tried to include in a where clause using the IN function, but I get the following error.
ERROR: cannot pass more than 100 arguments to a function LINE 9: and cm.course_id ('I3133-PHYS-49990-1201-1YR-040867', ^ SQL state: 54023 Character: 332
I tried using LIMIT and OFFSET to limit the results to less than 100, but that didn't work for obvious reasons.
I don't want to run my query 10 times, changing the values each time, so is there a different approach that I can use?
thanks