The number of in parameters in Oracle is limited

Source: Internet
Author: User

Encountered this problem "in the number of parameters in Oracle Limit", which is recorded here,

There is a limit to the number of arguments in the parentheses, and the number of Oracle 9i cannot exceed 1000 256,oracle 10g.

When the number of in is greater than 1000, the solution is:

(1) The parameter is processed, divided into multiple in, where the parameters in each in list are less than 1000, such as in (1,2,3.........1000) or params in (1001,1002...2000).

However, the performance and maintainability of this method is not good

(2) is to change the string in the back to a subquery, save the data in the in the temporary table, the params in (select .... from dual)

The number of in parameters in Oracle is limited

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.