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

Re: dbcc checkstorage inside rpc

$
0
0

Hi Karel,

 

I am wondering if you noticed that in the document written by Rob Verschoor you mention in your query, he says that "rpc method does not work for dbcc commands". He mentions two reasons for it. The first reasoning sybase_ts_role" would not be valid for 15.0.2 since sybase_ts_role is available to sa_role by default but the second point regarding the trace flag might still be true.

 

warm regards,

sudhir

 

This is the excerpt from the Rob Verschoor link (http://www.sypron.nl/grant_sa.html)

 

  • While the mechanism described in this document is quite powerful, some things cannot be implemented this way. For example, most dbcc commands require sybase_ts_role, which cannot be granted to other roles (although this could be achieved by manually inserting a row into master..sysattributes). Still, the main problem is that any output from dbcc commands will only be visible after traceflag 3604 has been enabled; because this traceflag is session-specific, it cannot be enabled for the executing user's session using the mechanism followed by the stored procedures in this document, because the CIS RPC executes in a different process than the originating user.

Viewing all articles
Browse latest Browse all 3587

Trending Articles



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