Categories
Dashboard Prompt using Direct Database SQL?

Hello Experts,
Is it possible to create a dashboard prompt using direct database SQL (sort of like a Direct Database Request)? If yes, is there a trick way because I couldn't figure it out. Please help.
Answers
-
Hi,
No it's not possible.
But you can always write logical sql in the query definition
0 -
Don't have an RPD model built yet to support logical SQL, this was a POC we wanted to do if possible.
0 -
Prompts can only be based on Subject Areas and can only execute Logical SQL.
No physical SQL is allowed
0 -
Thank you for the confirmation.
0 -
We have gotten Physical SQL to work in prompts by putting the following into the "SQL results" box in the prompt options:
EXECUTE PHYSICAL CONNECTION POOL "[Insert Pool Name within the quotes here]"
[Insert Physical SQL here]
For example:
EXECUTE PHYSICAL CONNECTION POOL "[Insert Pool Name within the quotes here]"
[Insert Physical SQL here]
For example:
EXECUTE PHYSICAL CONNECTION POOL "My Conn Pool"
select distinct COLUMNNAME as MYCOLUMNNAME
from MYDATABASE.MYTABLE
where MYOTHERCOLUMN = 'Some Value'
Hope that helps!
0 -
Which version/s of OBIEE?
0 -
I'm using version 11.1.1.7
0 -
Nothing to do with the version @3240307
It. Is. Not. Supported.
0 -
Christian I was able to get it to work per my earlier post today (using the line EXECUTE PHYSICAL CONNECTION POOL where you would normally type in the logical SQL). I'm not sure if my technical counterparts have configured some custom setup to allow me to do this.
-Paul
0 -
Hi Paul. I was really hoping you wouldn't find this and post it out in the open :-/
0