SQL Language (MOSC)

MOSC Banner

Not a GROUP BY error on instances having different database versions

edited Jun 15, 2017 5:00AM in SQL Language (MOSC) 6 commentsAnswered

Dear All

I am trying to fetch data from a view but it is showing error of not a GROUP BY expression however same view I can run on different instance without any error. The only difference I have noticed is that one instance has database version 12.1.0.2.0 (instance showing error in view) while other instance has database version 11.1.0.7.0 Is this can be cause of error however SQL of view on both instances is exactly same? I am also sharing view's SQL.

create or replace view xxrcl_tagged_receipt_details_v as

select x.cash_receipt_id,

       y.order_number,

       (select name

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