Sets or shows which Adaptive Server configuration parameters appear in sp_configure output.
sp_displaylevel [loginame [, level]]
is the Adaptive Server login of the user for whom you want to set or show the display level.
sets the display level to one of the following:
“basic” display level shows just the most basic configuration parameters. This level is appropriate for very general server tuning.
“ intermediate” display level shows configuration parameters that are somewhat more complex, as well as all the “basic” level parameters. This level is appropriate for moderately complex server tuning.
“ comprehensive” display level shows all configuration parameters, including the most complex ones. This level is appropriate for highly detailed server tuning.
Shows the current display level for the user who invoked sp_displaylevel:
sp_displaylevel
The current display level for login 'sa' is 'comprehensive'.
Shows the current display level for the user “jerry”:
sp_displaylevel jerry
The current display level for login 'jerry' is 'intermediate'.
Sets the display level to “comprehensive” for the user “jerry”:
sp_displaylevel jerry, comprehensive
The display level for login 'jerry' has been changed to 'comprehensive'.
See the System Administration Guide for details about display levels and configuration parameters.
Only a System Administrator can execute sp_displaylevel to set the display level for another user. Any user can execute sp_displaylevel to set and show his or her own display level.
Values in event and extrainfo columns from the sysaudits table are:
Event |
Audit option |
Command or access audited |
Information in extrainfo |
---|---|---|---|
38 |
exec_procedure |
Execution of a procedure |
|
System procedures sp_configure