Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

db2audit - Execute not returning the SQL

$
0
0
Hey Guys,

So I have set up an audit to capture data on who accessed a particular table and what query they ran.

db2 "create audit policy testpolicy categories execute with data status both error type audit"

db2 "audit table schema.table using policy testpolicy"

From here I have a batch script set up to load the data into work tables.

The issue: Once I'm querying the data in the tables I do not see any SQL.

Im assuming it should be under the STMTTEXT field in the EXECUTE table however all i get under that field is data like: auditlobs.32554522.5945/

Does anyone know what I'm doing wrong?. Is it how I'm loading the data maybe?

Thanks in advance.

Viewing all articles
Browse latest Browse all 13329

Trending Articles