How to fix the Oracle error PLS-00326: IN clause must contain same number of expressions as subquery?
In this post, you’ll learn more about the Oracle ErrorPLS-00326: IN clause must contain same number of expressions as subquery with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00326: IN clause must contain same number of expressions as subquery
Reason for the Error PLS-00326: IN clause must contain same number of expressions as subquery
The number of expressions in an IN clause did not equal the number of expressions in a corresponding subquery select list. For example, the following statement is invalid because the IN clause contains two expressions, but the subquery select list contains just one: … WHERE (ename, sal) IN (SELECT sal FROM emp);
How to fix the Error PLS-00326: IN clause must contain same number of expressions as subquery ?
You can fix this error in Oracle by following the below steps
Check the number of expressions in each set, then revise the statement to make the numbers equal.
Leave Your Comment