RE: grant select on SCOTT.* to vewalluser
- From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
- To: <Roger.Xu@xxxxxxxxxxx>, "Oracle-L@Freelists. Org \(E-mail\)" <oracle-l@xxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 11:13:06 -0700
Just a small syntax correction - you need the string concatenation
operator in there, and will probably want to add a semi-colon at the end
too:
select 'grant select on ' || table_name || ' to viewalluser;' from
user_tables;
Regards,
Brandon
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business
of this company shall be understood as neither given nor endorsed by it.
- Follow-Ups:
- RE: grant select on SCOTT.* to vewalluser
- From: Mercadante, Thomas F \(LABOR\)
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: Mercadante, Thomas F \(LABOR\)