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


Perhaps a poor man's solution? 

 

Open the connection for the report, get it's spid, and start the query.  Don't plan on using this connection for any other subsequent activity.

Open a second connection and execute a "waitfor time <dropdeadtime>" followed by a "kill <report spid>"

 

Leave both sessions running overnight.

 

-bret


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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