CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

Sql result in a Report prompt

edited Feb 13, 2014 12:00PM in CRM On Demand - Reports and Dashboards (MOSC) 2 commentsAnswered

Hello All,

I am trying to fill a  report prompt with values of a sql result.

  • It's working fine with this Sql expression: SELECT Employee.Alias FROM Employee WHERE Employee."Manager Alias" = VALUEOF(NQ_SESSION."USER_ALIAS") ORDER BY Employee.Alias
  • But when i try with this other one : SELECT A1.Alias FROM Employee As A1, Employee As A2 WHERE A1.Region = A2.Region AND A2.Alias = VALUEOF(NQ_SESSION."USER_ALIAS") ORDER BY A1.Alias, it's not working anymore...

Please could you help me finding what is going wrong?

Regards
Yann

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center