15.10 - WITH TEXT - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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.