![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 10 Oct 2014 @ 10:18:52 GMT
You need to get it from dbc.dqllogtbl
Select collecttimestamp,querytext
from dbc.dbqlogtbl
where querytext like '% create user XXXX (XXX USERNAME)%'
from dbc.dbqlogtbl
where Collecttimestamp >= date -n;( where n can be number of days )
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||