15.10 - Example: Logging Requests on All Users for the Default Table - 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

To monitor the usage of myuser in more detail, add another rule for myuser that logs STEPINFO and OBJECTS.

These requests create query logging rules on all users in the default table and specific logging of steps and database objects for myuser:

     BEGIN QUERY LOGGING ON ALL;
     BEGIN QUERY LOGGING WITH STEPINFO, OBJECTS ON myuser;