Closed (duplicate)
Project:
Oracle Driver
Version:
7.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2011 at 20:18 UTC
Updated:
26 Jan 2012 at 18:57 UTC
Whenever an alias is included in a Group By statement, it fails with an exception similar to the following:
ORA-00904: "UC_PRODUCTS_SELL_PRICE": invalid identifier
Apparently the SQL Server driver expands those Group By clauses automatically. Is it possible to do the same here?
Thanks!
Comments
Comment #1
aaaristo commentedwe also expand it... going to look at the SQL Server driver implementation probably is more roubust here
Comment #2
aaaristo commentedi looked at it, and it looks like they address only db_select() statements... i would like somenthing that works with db_query too...
Comment #3
aaaristo commentedmeanwhile added same group by expansion for db_select
Comment #4
aaaristo commentedhttp://drupal.org/node/1127298