I am getting the error
ORA-01795 maximum number of expressions in a list is 1000
for the below query
select emp_id, emp_name, emp_code
from emp e
where emp_id in (001,002,005,006....18000);
I need to put 18000 records in the IN
clause. How can I achieve this? How can I modify my given query?