I'm converting a Delphi 5 / BDE application to Delphi XE7 / FireDAC. One of my forms has a TFDTable
component that points to an Oracle view containing a group by
clause in its create statement.
This used to work fine in the BDE application, but with FireDAC I'm getting this error.
ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
I understand the error I'm getting from Oracle, but I'm not selecting ROWID
, FireDAC is! Is there a property in the TFDTable
that I can set to prevent it from adding ROWID
to the query? If not, how am I supposed to use this view?
Include
fiMeta
inFetchOptions.Items
.Source : http://docwiki.embarcadero.com/RADStudio/XE8/en/Unique_Identifying_Fields_%28FireDAC%29