|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Thu, 18 Mar 2010 @ 19:18:02 GMT
 
 Dear All, I am trying to create a partition on char field. I did that using flowing query , 
     PARTITION BY RANGE_N(HASHBUCKET(HASHROW(index column))
                     BETWEEN 0 AND 65535 EACH 1024)
But when I am trying to use that partition it is not getting used.. it is getting used only when a single value is there in the where condition. But if I specify more values in where It is not considering partitions, it is doing a all-rows scan could you please help me to understand this why it is behaving so?? 
     Sel * from This works and only one partition is getting selected. But 
     Sel * from For this it is not taking two partitions it is doing a all-rows scan.. b 9 Thanks & Regards Usman 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||