Here are examples of
generated SELECT statements involving various column data types.
COL1 is numeric, decimal,
or float. This example uses three threads (the default) and COL1 is
NOT NULL.
select * from DBTAB where (abs(convert(INTEGER, COL1)))%3=0
select * from DBTAB where (abs(convert(INTEGER, COL1)))%3=1
select * from DBTAB where (abs(convert(INTEGER, COL1)))%3=2
COL1 is bit, integer,
smallint, or tinyint. This example uses two threads (the default)
and COL1 is NOT NULL.
select * from DBTAB where (abs(COL1))%3=0
select * from DBTAB where (abs(COL1))%3=1
COL1 is and integer
and is nullable.
select * from DBTAB where (abs(COL1))%3=0 OR COL1 IS NULL
select * from DBTAB where (abs(COL1))%3=1