Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using prompt in SQL

Status
Not open for further replies.

craig322

MIS
Apr 19, 2001
108
US
How do you embed a cognos prompt in a custom SQL in impromptu? I keep receiving an error when I try to insert a prompt in the SQL I have created for the report.

I am connecting to an Informix database.

I have tried enclosing it in '', "" and ().

TIA

Craig
 
Don't know if this will help as we are not informix users, however, when we have inserted prompts into sql we use the insert prompt button within the query builder window and the syntax appears as below within the sql, we then subsequently place it where it is required:

T3.Year_Text IN ?Year?

Where ?Year? is the prompt.

Cheers,

Adam.
 
It has been awhile, but I believe that ?prompt? syntax is correct.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top