I'm usually working with MySQL or SQL Server and I've experienced quite a problem in Oracle SQL Developer.
I have query like this (making it simple just to replicate my issue):
SELECT *
FROM table t1
WHERE t1.date > :START_DATE AND t1.date < :END_DATE AND t1.id IN (:IDS)
When I run this query, the dialog window opens and I'm prompted to enter the variables.
Problem is when I enter comma separated ids like 5,6,7
or with quotes '5,6,7'
I get this error:
ORA-01722: invalid number
01722. 00000 - "invalid number"
*Cause:
*Action:
Any ideas here?
PS: There has to be dialog prompt to enter variables. Colleagues are not SQL friendly. ;)