Archives of the TeradataForum
Message Posted: Wed, 30 Jun 2004 @ 14:22:23 GMT
I have three databases (and three different users):
- the first one contains tables
- the second one contains a view based on tables from the first database
- the third one contains a stored procedure, which uses the view from the second database
When I try to execute the stored procedure (as a user who created it), I get an error: An owner referenced by user does not have EXECUTE PROCEDURE access to proc_name.
Can anyone explain me what permissions (and for which users) need to be set in each of databases in this case?
I tried to run: GRANT EXECUTE PROCEDURE ON proc_name TO user_name but it didn't help.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 15 Jun 2023|