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

Re: how to use audit to monitor sp runing and time?

$
0
0

You could audit execution of the procedure and get the time it was called, but not how long it ran.

 

If you own the procedure, the easiest thing would be to add some logging code to the procedure, i.e.

"insert spid, suid, getdate(), 'start' " as the first statement of the proc, and

spid, suid, getdate(), "end" as the last statement.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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