Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9285

Re: Looking for more information on Relational Optimization setting

$
0
0

Perhaps people could clarify a couple of things:

 

(1) There is no semantic difference between the two queries in the Guide example quoted above by Patrick.  Why does the guide warn: "In this case, if this flag is set counters and SELECT COUNT may deliver wrong results"?  Is this just a bad example?

 

(2) Is this warning just a general warning to people who don't understand much SQL, or does use of this flag mean that HANA will sometimes disregard semantic differences and rewrite the SQL regardless leading to a different (i.e. incorrect) result?

 

Regards,

 

 

Jeremy


Viewing all articles
Browse latest Browse all 9285

Trending Articles



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