Code Analysis - 2831 with CAST in query

This rule should not apply to queries:

2831 - Use PLS_INTEGER instead of INTEGER or equivalent subtypes.

SELECT CAST( NULL AS NUMBER(1) ) FROM dual;

You must be right. I logged this. (QP-1834)

Thanks,
Andre