Skip to main content
InterSystems IRIS Data Platform 2024.3
AskMe (beta)
Loading icon

#sqlcompile audit

Specifies whether any subsequent Embedded SQL statements should be audited.

Description

This macro preprocessor directive is a boolean that specifies whether any subsequent Embedded SQL statements should be audited. It has the form:

#sqlcompile audit=value

where value is either ON or OFF.

For this macro preprocessor directive to have any effect, the %System/%SQL/EmbeddedStatement system audit event must be enabled. By default, this system audit event is not enabled.

FeedbackOpens in a new tab