grant select on SCOTT.* to vewalluser
- From: "Roger Xu" <Roger.Xu@xxxxxxxxxxx>
- To: "Oracle-L@Freelists. Org \(E-mail\)" <oracle-l@xxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 11:26:52 -0600
Hi List,
Is there a simple way to do this besides the following?
set echo off;
set heading off;
set feedback off;
set pagesize 0;
spool grant.sql;
select 'grant select on ' table_name ' to viewalluser' from user_tables;
spool off;
set feedback on;
set heading on;
set echo on;
@grant.sql;
Thanks,
Roger
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing or other use o
____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email Security
System.
- Follow-Ups:
- Re: grant select on SCOTT.* to vewalluser
- From: David Sharples
- Re: grant select on SCOTT.* to vewalluser
- From: rjamya
Other related posts:
- » grant select on SCOTT.* to vewalluser
- » Re: grant select on SCOTT.* to vewalluser
- » RE: grant select on SCOTT.* to vewalluser;
- » Re: grant select on SCOTT.* to vewalluser;
- » Re: grant select on SCOTT.* to vewalluser
- » Re: grant select on SCOTT.* to vewalluser;
- » RE: grant select on SCOTT.* to vewalluser;
- » RE: grant select on SCOTT.* to vewalluser
- » RE: grant select on SCOTT.* to vewalluser
- Re: grant select on SCOTT.* to vewalluser
- From: David Sharples
- Re: grant select on SCOTT.* to vewalluser
- From: rjamya