I need to insert 12000 strings into temporary table, 6 characters each. Currently I am doing it with SELECT Code FROM Articles where Code = '111111' OR Code = '222222' ...
command that has 400 000 characters and takes 20 seconds to execute. I wonder how can I speed up this process?
I do not need any validation on my codes. They need to be transferred from application to database as part of the query or as command parameter.
I do not really need to do Select Code From Articles
, but oracle does not support multiple records in INSERT INTO (...) VALUES (...)