23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AUDIT SET<br />

AUDIT SET<br />

Syntax<br />

Examples<br />

8<br />

Allows grouping of audit data by the client on a per-connection basis.<br />

For more information about auditing, see OpenEdge Getting Started: Core Business Services.<br />

For more information about enabling a database for auditing, see OpenEdge <strong>Data</strong> <strong>Management</strong>:<br />

<strong>Data</strong>base Administration.<br />

AUDIT SET { EVENT_GROUP | APPLICATION_CONTEXT } { string | NULL },<br />

{ string | NULL };<br />

EVENT_GROUP<br />

Indicates that subsequent audit records written by the database engine during the current<br />

connection will be marked as part of an event group.<br />

APPLICATION_CONTEXT<br />

string<br />

NULL<br />

string<br />

NULL<br />

Indicates that subsequent audit records written by the database engine during the current<br />

connection will be saved with application context information.<br />

Free-form character value which is a unique string identifier for the group/application<br />

context event.<br />

Clears an event group or application context string.<br />

Free-form character value which provides additional application detail that describes the<br />

group/application context.<br />

Clears an event group or application context string.<br />

In this example, an application context is set:<br />

AUDIT SET APPLICATION_CONTEXT 'app.name.checking' '06/02/2005 Deposits';<br />

In this example, the application context is cleared:<br />

AUDIT SET APPLICATION_CONTEXT NULL NULL;<br />

Note AUDIT SET always returns a success status. This prevents users from determining whether or<br />

not they have audit privileges.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!