Archives of the TeradataForum
Message Posted: Wed, 17 Dec 2003 @ 15:53:49 GMT
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 !
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|