Hi,
I have a table tab1 with partition on a integer type column col with partition defn
PARTITION BY RANGE_N(col BETWEEN 1 ,2 ,3 ,4 ,6 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,21 ,23 ,24 ,25 AND 26 ,
NO RANGE);
I have a query like:
sel * from tab1 where col<>3. This query is going for a full table scan and not using partition.
I wanto write a query like :
↧