#Column IN literal values
SELECT CIDX, CINTEGER IN (2147483643, -2147483643, 0) FROM DATATYPETESTM;
SELECT CIDX, CDECIMAL4_2 IN (-99.96, -99.98, 0) FROM DATATYPETESTM;
SELECT CIDX, CDATE IN ('1400-01-02', '9999-12-30') FROM DATATYPETESTM;
SELECT CIDX, CCHAR9 IN ('iii', 'rrrrrrrr', 'aaaaaaaaa') FROM DATATYPETESTM;
SELECT CIDX FROM DATATYPETESTM WHERE CINTEGER IN (2147483643, -2147483643, 0);
SELECT CIDX FROM DATATYPETESTM WHERE CDECIMAL4_2 IN (-99.96, -99.98, 0);
SELECT CIDX FROM DATATYPETESTM WHERE CDATE IN ('1400-01-02', '9999-12-30');
SELECT CIDX FROM DATATYPETESTM WHERE CCHAR9 IN ('iii', 'rrrrrrrr', 'aaaaaaaaa');
#Column IN column values
SELECT CIDX, CINTEGER IN (2147483643, -2147483643, CSMALLINT) FROM DATATYPETESTM;
SELECT CIDX, CDECIMAL4_2 IN (-99.96, -99.98, CDECIMAL18) FROM DATATYPETESTM;
SELECT CIDX, CDATE IN ('1400-01-02', '9999-12-30', CDATETIME) FROM DATATYPETESTM;
SELECT CIDX, CCHAR9 IN ('iii', 'rrrrrrrr', CCHAR5) FROM DATATYPETESTM;
SELECT CIDX FROM DATATYPETESTM WHERE CINTEGER IN (2147483643, -2147483643, CSMALLINT);
SELECT CIDX FROM DATATYPETESTM WHERE CDECIMAL4_2 IN (-99.96, -99.98, CDECIMAL18);
SELECT CIDX FROM DATATYPETESTM WHERE CDATE IN ('1400-01-02', CDATETIME);
SELECT CIDX FROM DATATYPETESTM WHERE CCHAR9 IN ('iii', 'rrrrrrrr', CCHAR5);
#Column IN column values with function
SELECT CIDX, CINTEGER IN (LENGTH(CCHAR255), 2147483643, -2147483644) FROM DATATYPETESTM;
SELECT CIDX, CDECIMAL4_2 IN (LENGTH(CCHAR255), -99.97, 99.99) FROM DATATYPETESTM;
SELECT CIDX, CCHAR3 IN ('iii', 'rrrrrrrr', SUBSTR(CCHAR5,1,3)) FROM DATATYPETESTM;
SELECT CIDX FROM DATATYPETESTM WHERE CINTEGER IN (LENGTH(CCHAR255), 2147483643, -2147483644);
SELECT CIDX FROM DATATYPETESTM WHERE CDECIMAL4_2 IN (LENGTH(CCHAR255), -99.97, 99.99);
SELECT CIDX FROM DATATYPETESTM WHERE CCHAR3 IN ('iii', 'rrrrrrrr', SUBSTR(CCHAR5,1,3));
#
SELECT CIDX, LENGTH(CINTEGER) IN (LENGTH(CCHAR255), 2147483643, -2147483644) FROM DATATYPETESTM;
SELECT CIDX FROM DATATYPETESTM WHERE LENGTH(CINTEGER) IN (LENGTH(CCHAR255), 2147483643, -2147483644);
#
