![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 06 Feb 2009 @ 15:15:30 GMT
<-- Anonymously Posted: Fri, 6 Feb 2009 15:05 --> sorry all i typoed below - the statement i want in the 'not in' clause is
SELECT InfoData FROM dbc.dbcinfo where InfoKey ='release'
so
select *
from dbc.accesslog
where StatementText not in (
'SELECT InfoData FROM dbc.dbcinfo where InfoKey ='release'')
and logdate > date - 30
and username = 'dbc' order by 1,2
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||