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

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ied1556235912841.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantage™
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.