Environment information:
* Oracle version: 9i
* Operating system: Linux
Srs,
How do I do To run a Grant in a roller to be valid for all SCHEMA objects without having to specify which object, example:
] Being that * means everything that is in Schema1, how to do? thank you so much!
Grant Role schema all objects
-
- Moderador
- Posts: 367
- Joined: Tue, 25 Mar 2008 3:41 pm
- Location: Salvador - BA
Rodrigo Valentim
Analista de Sistemas
Oracle Developer
Campanha: Faça uma pesquisa antes de perguntar!!!
Analista de Sistemas
Oracle Developer
Campanha: Faça uma pesquisa antes de perguntar!!!
In Query below, you will allow permission to all objects of your user to a particular group / user.
You can include all_tables, all_objects, etc.
set heading off;
spool all.sql
select 'GRANT ALL ON ' || object_name || ' TO [usuario / Rule];'
FROM user_objects;
spool off;
@all
I receive the following error:
ERROR at line 1:
ORA-00903: invalid table name
-
- Moderador
- Posts: 367
- Joined: Tue, 25 Mar 2008 3:41 pm
- Location: Salvador - BA
Rodrigo Valentim
Analista de Sistemas
Oracle Developer
Campanha: Faça uma pesquisa antes de perguntar!!!
Analista de Sistemas
Oracle Developer
Campanha: Faça uma pesquisa antes de perguntar!!!
Post the script! 

-
- Rank: Analista Pleno
- Posts: 115
- Joined: Sat, 10 Nov 2007 2:54 pm
- Location: rio de janeiro
Att,
Diego Leite
DBA ORACLE
Diego Leite
DBA ORACLE
Good
can help me s.f.f
I noticed that a few years ago that had to give access to a schema a Grant Select to all tables.
There is a solution to give Grants SELECT to all tables already created in the created and new schemas that are created in the BD, so then I only add this scroll to the Users that will access SELECT to all schemas.
Thanks
Carlos Fernandes
can help me s.f.f
I noticed that a few years ago that had to give access to a schema a Grant Select to all tables.
There is a solution to give Grants SELECT to all tables already created in the created and new schemas that are created in the BD, so then I only add this scroll to the Users that will access SELECT to all schemas.
grant select any table on "role" to "schema";
Thanks
Carlos Fernandes
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest