Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: utcgetdate - stop a query after x time

$
0
0

Mark, I hate to say this, but your solution actually doesn't work in terms of forcing the getutcdate() call to be evaluated for every row. This trick only works when the table column is an argument to the function. In this case, the dateadd() is forced to be evaluated for every row, but the getutcdate() call is still evaluated only once.

(Okay, I guess that puts the onus on me to show my solution  in full... see above)


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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