I get this type of error for below statement:
SELECT COUNT (DISTINCT Userid)
src_id IN (123)
AND Src_Cd = 'AB'
AND PGM = 'LN';
SELECT Failed.  Syntax error: Data Type 'P' does not match a defined type name.
It does not make any sense to me. This error is not constant as well. It shows up sometimes only.
Can someone please help?
Thanks in advance,