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

I try this for single proc, like:

sp_audit 'exec_procedure', 'all', 'dbname.dbo.myproc' ,'on'


it is fine. Then I try to do this for all sp. try following:

sp_audit 'exec_procedure', 'all', 'all' ,'on'


it's not working. give me error:

 

11:31:25.438DBMSmysyb -- Number (18228) Severity (16) State (1) Server (MYSYB) Procedure (sp_audit) 'all' is not a valid object name.


how to fix it? I want to monitor on calling on all sp in user database. 



Viewing all articles
Browse latest Browse all 3587

Trending Articles



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