Give a Grant a Function for All Bank User

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
pyro
Rank: DBA Sênior
Rank: DBA Sênior
Posts: 323
Joined: Thu, 21 Sep 2006 10:21 am
Location: Barala - TT

I created with a function in the Oracle bench, however when access it (execute) inside the forms with another user it hangs, I realized that it can be a grant problem.
How do I authorize all the bank users using this function?

Environment information:
* Oracle version: 10g
* Operating system: Linux Red Hat.
diegoleite
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 115
Joined: Sat, 10 Nov 2007 2:54 pm
Location: rio de janeiro
Att,


Diego Leite
DBA ORACLE

Select all

Grant EXECUTE ON NOME_FUNCTION TO Usuario;

or

Select all

Grant EXECUTE ON NOME_FUNCTION TO ROLE;
marcus.vpm
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 3
Joined: Wed, 19 Apr 2006 6:57 pm
Location: DF

You can use this too;

Select all

GRANT EXECUTE ON FUNCTION TO PUBLIC 
/ 
CREATE PUBLIC SYNONYM FUNCTION FOR FUNCTION 
/
pyro
Rank: DBA Sênior
Rank: DBA Sênior
Posts: 323
Joined: Thu, 21 Sep 2006 10:21 am
Location: Barala - TT

I did the indicated but it has not worked yet, I will give a better analyzed.
vlw.
marcus.vpm
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Posts: 3
Joined: Wed, 19 Apr 2006 6:57 pm
Location: DF

Select all

GRANT EXECUTE ON SCHEMA.NOME_FUNCTION TO PUBLIC 
/ 
CREATE PUBLIC SYNONYM NOME_FUNCTION FOR SCHEMA.NOME_FUNCTION 
/
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest