Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Who is this called

Re: Who is this called

From: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 10 Jan 2006 08:36:05 -0800
Message-ID: <1136910958.454729@jetspin.drizzle.com>


Kurt-Erich.Finger_at_hte-company.de wrote:
> Hallo,
> I would have searched google if I would know how this statement is
> called.
> I searched the SQL reference but could not find it.
> I use it but I don't know the term.
>
>
> select 'GRANT SELECT ON '||view_name||' to USER_ROLE ;'
> from ALL_VIEWS
> where owner = 'MYSELF'
> and view_name != 'SYSTEM'
> order by view_name ;
>
> best regards
> ke

Depends on the tool.

If I were in SQL*Plus I would just paste it into the command line and hit the Enter key.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Tue Jan 10 2006 - 10:36:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US