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