Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to escape single quote in Presentation Variable Default String

689067Apr 9 2009 — edited Apr 15 2009
I have WHERE IN condition in Direct DB Request Query. In Dashboard Prompt, presentation variable I have string as default (Type Edit Box, I am not using LOV).

In direct request :
select * from table1 where column1 IN ( '@{somevar1}' )

In Dashboard prompt the string value for Presentation Var somevar1 is

'Tom','Bob','Harry'

But the above won't get resolved for correct WHERE IN query syntax. How do I escape the single quote? or what should I type in Dashboard prompt so that the
respective WHERE condition will be formed like

select * from table1 where column1 IN ( 'Tom','Bob','Harry' )

I tried backslash but did not work

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details