Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 17 Dec 2003 @ 15:53:49 GMT


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


Subj:   Accessrights to execute a macro...
 
From:   Vivek Pandey

Hello All,

When I execute

sel tablename from dbc.tables where tablekind = 'T';

The query is successful.


But when the same user executes the following macro (created by himself), the following error is obtained !

replace macro m1(typ char(1)) as ( sel tablename from dbc.tables where tablekind = ':typ' ;);

 BTEQ -- Enter your DBC/SQL request or BTEQ command:
exec m1('T');

exec m1('T');
 *** Failure 3523 An owner referenced by user does not have SELECT WITH GRANT OPTION access to DBC.Tables.
                Statement# 1, Info =0
 *** Total elapsed time was 1 second.

Why ? I need to know which user is referred as 'owner' in the above error message .


Thanks for your inputs in advance !

--Vivek.



     
  <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