I am trying to convert the Comma separated string into an integer array (integer[]) to use in Where clause.
I have tried cast, ::Int which didn't work. Appreciate your input
Example
Table A | Table B
ID | Set_id
2 | 14,16,17
1 | 15,19,20
3 | 21
My Query:
Select *
from Table a, table b
where a.id in b.set_id