Java Oracle exception - “maximum number of expressions in a list is 1000”

后端 未结 7 710
再見小時候
再見小時候 2020-12-03 05:05

I am passing a list of Strings to my query(SQL query written) to fetch the required data. But I am getting this exception:

ora-01795 maximum number

7条回答
  •  -上瘾入骨i
    2020-12-03 05:49

    you can create a temporary table, and insert the values you want use in your IN statement, and join the temporary table with your real table. more information about temporary tables.

提交回复
热议问题