SQL Language (MOSC)

MOSC Banner

A query that gives the correct answer in 10.2 daabase is failing when run on 11.2.0.1.

edited Mar 8, 2012 8:54AM in SQL Language (MOSC) 12 commentsAnswered
The query in question is

  select     count(*) from profile p where end_time <= (COALESCE((
      SELECT MIN(ip.end_time) FROM profile ip
      WHERE
      ip.device_id = p.device_id AND
      ip.end_time >=
      TIMESTAMP'2012-02-08 00:00:00 UTC'
      ),
      TIMESTAMP'2012-02-08 00:00:00 UTC'
      ) )

Any ideas on why this might fail for 11g?

Thanks

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