Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

ABAP DB hints and sorting order

$
0
0

Hi,

 

I've this discussion concerning DB hints and the effect after a HANA migration.

It's obvious that DB hints (in casu Oracle hits) with ABAP are ignored when the database is migrated to HANA.

The point of discussion is what happens with the sorting order of the result set when the DB hints are omitted. My feeling is that sort order can only be determined by the order by and not by the DB hints. Thus when an order by is absent, the sort order is the one of the DB and not the index pointed to in the BD hints. Is my feeling correct about this?

The result is of course that after migrating to HANA, the sort order of the result set in unreliable, unless one specifies an order by or sort it afterwards.

The whole point of discussion is whether or not the sort order of the result is influenced by the fact that the DB hint is ignored or the lack of having an order by. I wonder why DB hints are only considered as a priority 2 problem within the ATC.

 

Cheers

 

Eddy


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>