15.10 - WITH TEXT - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
Release Number
December 2015
Content Type
Programming Reference
Publication ID
English (United States)

The text of the request that caused the log entry is to be saved in the log.

If two BEGIN LOGGING requests specify the same user, object, and action, and one of the requests specifies the DENIALS option, then WITH TEXT can be specified on either one of the requests, on both requests, or on neither request.

  • If you specify WITH TEXT only on the request that also specifies DENIALS, Teradata Database saves the text only when the entry is created as a result of a denial.
  • If you specify WITH TEXT either without DENIALS or on both requests, Teradata Database always saves the text.
  • If you specify WITH TEXT on END LOGGING, Teradata Database does not save the text for the specified actions or the DENIALS specification, but the logging frequency is not affected.