Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

disable enable logons - response (1) by goldminer

$
0
0

I was playing around a bit and came up with the following... Not sure if this is what you are looking for:
sel 'revoke logon on all from ' || '"' || trim(databasename) || '"' || ';' (TITLE '')
from dbc.dbase
where databasename in ('user1','user2',...)
and passwordSalt is not null
and databasename not in ( 'DBC','SYSDBA',...)
order by 1;
 
 
 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>