Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 05 Apr 2005 @ 15:54:49 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Teradata privileges
 
From:   Dieter Noeth

Rajesh Maheshwari wrote:

  like in oracle  


     > select GRANTEE , PRIVILEGE  from SYS.DBA_SYS_PRIVS
  can we have same output in teradata  


  I mean I want username and his privileges with full description  


There are hardly any system privileges in Teradata, there's no view for it. You'll have to filter dbc.allrights:

     select username, accessright from dbc.allrights
     where accessright in ('MR','MS','CR',....);

If "full description" means "MONITOR RESOURCE" instead of "MR" use a CASE, just search the archives.

Dieter



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023