Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Is it possible to select from a partition range

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 22
Location: hyderabad

PostPosted: Mon Jul 07, 2008 4:33 pm    Post subject: Is it possible to select from a partition range
Reply with quote

Is it possible to select from a partition range?

ie.

something like

select * from table partition range (partition1,partition3);
Back to top
View user's profile Send private message
References
ksk

Senior Member


Joined: 08 Jun 2006
Posts: 309
Location: Pune, India

PostPosted: Mon Jul 07, 2008 5:40 pm    Post subject:
Reply with quote

No, you can retreive the partition range using IBM table SYSIBM.SYSTABLEPART
Back to top
View user's profile Send private message
ashimer

Senior Member


Joined: 13 Feb 2004
Posts: 354
Location: Bangalore

PostPosted: Mon Jul 07, 2008 8:29 pm    Post subject:
Reply with quote

saurabh,

If you can use your query predicates judiciously to eliminate the unwanted partitions then you can get the data from the required partitions ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1