ORA-01795 maximum number of expressions in a list is 1000Cause: More than 254 columns or expressions were specified in a list.Action: Remove some of the expressions from the list.意思很明显,Oracle 的 IN 子句中最多只能有 254 个字段或者1000个表达式,你提供的参数中可能有多于1000项,这种情况下,就不能再用IN来实现了。考虑建立临时表,然后把这些项保存在表中,在语句中用子查询来实现不吧
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货