17.10 - Example: Investigating Proxy User Activity in DBC.QryLogV - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Security
Publication ID
B035-1100-171K
Language
English (United States)
SEL ProxyUser(FORMAT 'X(10)'), ProxyRole(FORMAT 'X(10)'), querytext(FORMAT 'X(40)')
from DBC.QryLogV
where username='eCRM' order by StartTime, queryid;

 *** Query completed. 4 rows found. 3 columns returned.
 *** Total elapsed time was 1 second.

ProxyUser  ProxyRole  QueryText
---------- ---------- --------------------------------------------------------------
DG708      Web        SET QUERY_BAND = 'PROXYUSER=DG708’
DG708      Web        SEL * FROM table5;
DG708      Web        INS table5(c1Val,c2Val);
DG708      Web        SEL * FROM table5;
+--------+--------+--------+--------+--------+---------+--------+------+------+------

For more information on Query Logging, see Teradata Vantage™ - Database Administration, B035-1093.