The other fields in the audit record give other pertinent
information. For example, the record contains the server user ID
(suid) and the login name (loginname). 
Table 18-5: Values in event and extrainfo columns
| Audit option | Command or
access to be audited | event | Information in extrainfo | 
|---|
| (Automatically audited event
not controlled by an option) | Enabling auditing with: sp_configure
auditing | 73 | — | 
| (Automatically audited event
not controlled by an option) | Disabling auditing with: sp_configure
auditing | 74 | — | 
| Unlocking Administrator’s account | Disabling auditing with: sp_configure
auditing | 74 | — | 
| adhoc | User-defined audit record | 1 | extrainfo is filled
by the text parameter of sp_addauditrecord  | 
| alter | alter database | 2 | Keywords or options: | 
| alter table  | 3 | Keywords or options:  add/drop/modify
columnsadd constraintdrop constraint
 | 
| bcp | bcp in | 4 | — | 
| bind | sp_bindefault | 6 | Other information: Name
of the default | 
| sp_bindmsg | 7 | Other information: Message
ID | 
| sp_bindrule | 8 | Other information: Name
of the rule | 
| cmdtext | All commands | 92 | Full text of command, as sent by the
client | 
| create | create database | 9 | — | 
| create default | 14 | — | 
| create procedure | 11 | — | 
| create rule | 13 | — | 
| create table | 10 | — | 
| create trigger | 12 | — | 
| create view | 16 | — | 
| create index | 104 | Other information:
Name of the index | 
| create function | 97 | — | 
| sp_addmessage | 15 | Other information:
Message number | 
| dbaccess | Any access to the database
by any user | 17 | Keywords or options:  use cmdoutside reference 
 | 
| dbcc | dbcc all
keywords | 81 | Keywords or options: Any
of the dbcc keywords such as checkstorage and
the options for that keyword. | 
| delete | delete from
a table | 18 | Keywords or options: delete  | 
| delete from
a view | 19 | Keywords or options: delete  | 
| disk | disk init | 20 | Keywords or options: disk
init  Other information: Name of the disk | 
| disk mirror | 23 | Keywords or options: disk
mirror  Other information: Name of the disk | 
| disk refit | 21 | Keywords or options: disk
refit  Other information: Name of the disk | 
| disk reinit | 22 | Keywords or options: disk
reinit  Other information: Name of the disk | 
| disk release | 87 | Keywords or options: disk
release Other information: Name of the disk | 
| disk remirror | 25 | Keywords or options: disk
remirror Other information: Name of the disk | 
| disk unmirror | 24 | Keywords or options: disk
unmirror Other information: Name of the disk | 
| disk resize | 100 | Keywords or options: disk
resize Other information: Name of the disk | 
| drop | drop database | 26 | — | 
| drop default | 31 | — | 
| drop procedure | 28 | — | 
| drop table | 27 | — | 
| drop trigger | 29 | — | 
| drop rule | 30 | — | 
| drop view | 33 | — | 
| drop index | 105 | Other information:
Index name | 
| drop function | 98 | — | 
| sp_dropmessage | 32 | Other information: Message
number | 
| dump | dump database | 34 | — | 
| dump transaction | 35 | — | 
| errors | Fatal error | 36 | Other information: Error number.Severity.State  | 
| Non-fatal error | 37 | Other information: Error number.Severity.State | 
| exec_procedure | Execution of a procedure | 38 | Other information: All
input parameters | 
| exec_trigger | Execution of a trigger | 39 | — | 
| func_obj_access, func_dbaccess | Accesses to objects and
databases via Transact-SQL functions | 86 | — | 
| grant | grant | 40 | — | 
| insert | insert into
a table | 41 | Keywords or options: | 
| insert into
a view | 42 | Keywords or options: insert  | 
| install | install | 93 | — | 
| load | load database | 43 | — | 
| load transaction | 44 | — | 
| login | Any login to the server | 45 | Other information: Host
name and IP address of the machine from which the login was performed. | 
| logout | Any logouts from the server | 46 | Other information: Host
name | 
| mount | mount database | 101 | — | 
| quiesce | quiesce database | 96 | — | 
| reference | Creation of references to
tables | 91 | Keywords or options: reference Other information: Name of the referencing table | 
| remove | remove java | 94 | — | 
| revoke | revoke | 47 | — | 
| rpc | Remote procedure call from another
server | 48 | Keywords or options: Name
of client program Other information: Server name, host
name of the machine from which the RPC was executed. | 
| Remote procedure call to
another server | 49 | Keywords or options: Procedure
name | 
| security | connect to (CIS
only) | 90 | Keywords or options: connect
to | 
|  | online database | 83 | — | 
|  | proc_role function
(executed from within a system procedure) | 80 | Other information: Required
roles | 
|  | Regeneration of a password
by an SSO | 76 | Keywords or options: Setting
SSO password Other information: Login name | 
|  | Role toggling | 55 | Previous value: on or off Current value: on or off Other information: Name of the role being
set | 
|  | Server start | 50 | Other information: -dmasterdevicename-iinterfaces file path-Sservername-eerrorfilename
 | 
|  | sp_webservices | 111 | Keywords or options:  deploy if
deploying a web service. deploy_all if
deploying all web services | 
|  | sp_webservices | 111 | Keywords or options:  undeploy if
undeploying a web service. undeploy_all if
undeploying all web services | 
|  | Server shutdown | 51 | Keywords or options: shutdown  | 
|  | set proxy or set session authorization | 88 | Previous value: Previous suid
Current value: New suid | 
|  | sp_configure | 82 | Keywords or options: SETCONFIG Other information: | 
|  | sp_ssladmin administration enabled | 99 | Keywords contains SSL_ADMIN
addcert, if adding a certification. | 
|  | Audit table access | 61 | — | 
|  | create login, drop
login | 103 | Keywords or options: create
login, drop login | 
|  | create, drop, alter, grant,
or revoke role | 85 | Keywords or options: create, drop, alter, grant, or revoke
role | 
|  | built-in functions | 86 | Keywords or options: Name
of function | 
|  | Security command or access
to be audited, specifically, starting Adaptive Server with -u option
to unlock the administrator’s account.. | 95 | Other information contains 'Unlocking
admin account' | 
| select | select from
a table | 62 | Keywords or options: select intoselectreadtext
 | 
| select from
a view | 63 | Keywords or options: select intoselectreadtext
 | 
| setuser | setuser | 84 | Other information: Name
of the user being set | 
| table_access | delete | 18 | Keywords or options: delete  | 
| insert | 41 | Keywords or options: insert  | 
| select | 62 | Keywords or options: select intoselectreadtext
 | 
| update | 70 | Keywords or options: | 
| truncate | truncate table | 64 | — | 
| unbind | sp_unbindefault | 67 | — | 
| sp_unbindmsg | 69 | — | 
| sp_unbindrule | 68 | — | 
| unmount | unmount database | 102 | — | 
| update | update to
a table | 70 | Keywords or options: | 
| update to
a view | 71 | Keywords or options: | 
| view_access | delete | 19 | Keywords or options: delete | 
| insert | 42 | Keywords or options: insert  | 
| select | 63 | Keywords or options: select intoselectreadtext
 | 
| update | 71 | Keywords or options: |