If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

pass partition name as parameter to sql query

Started by angro, 03 Aug 2017 12:18:40 AM

Previous topic - Next topic

angro

Hi,
The query

     select * from table_name partition (#prompt('part_name')#) [/i]

generates error during validation.

Any idea how to pass partition name to sql query? I have a very large table and it is partitioned by day (over 2 mln records) . I can use where  in query , but partition is much faster.

Regards