if we have a value prompt in a prompt page and if we need
to pass that prompt value to a sql used in report, what is
the sql code? give me example?

Answers were Sorted based on User's Feedback



if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used ..

Answer / rizwan

hi buddy use ?promptname? in sql

Is This Answer Correct ?    6 Yes 1 No

if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used ..

Answer / the_xxx

You can use the below macro (#prompt("dataitem")#)

Is This Answer Correct ?    2 Yes 0 No

if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used ..

Answer / mac

Suppose u have a prompt which has country code, u can use
that parameter in ur sqls to filter particular contry's
details.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Cognos Interview Questions

What is a Folder?

0 Answers  


How do we drill through from a powerplay cube to reportnet?\

0 Answers   IBM,


What is called Cognos powerplay?

0 Answers  


In Drill through, Reports are executing successfully when rename & run the created reports? Pls tel me the reason?

2 Answers   IBM,


Hi everyone, In my report i have ten pages like page1,page2, upto page10, i have textbox prompt when i enter 1 page1 should display,when i enter 2 page2 should display,can anyone suggest the answer.

4 Answers  






What are query items?

0 Answers  


How to test a cube?

0 Answers  


What is meant by grouped star schema

0 Answers   IBM,


1.Can we create a cube in a Transformer from multiple IQD's ?if so, how? 2.Also , explain some of the best practises used ,while creating a cube in powerplay transformer.

2 Answers   Satyam,


What's use of a Master Detail report in Cognos? I mean what's the advantage? Please Explain.

2 Answers   DELL,


what is the difference between enterprise data warehouse and data warehouse

4 Answers  


How to crate cubes in transformer ?

3 Answers  


Categories