Solved

Oracle Express XE 11g R2 how to create and set pivileges to CONNECT ROLE

Posted on 2013-01-14
2
1,248 Views
Last Modified: 2013-01-14
Hi Experts,

I need to CREATE a CONNECT role using Oracle Express 11g R2

once created  neet to CREATE privileges as follows :
GRANT CREATE SESSION TO "CONNECT";
GRANT CREATE TABLE TO "CONNECT";
GRANT CREATE VIEW TO "CONNECT";
GRANT CREATE SYNONYM TO "CONNECT";
GRANT CREATE DATABASE LINK TO "CONNECT";
GRANT CREATE CLUSTER TO "CONNECT";
GRANT CREATE SEQUENCE TO "CONNECT";
GRANT ALTER SESSION TO "CONNECT";

Am thinking the above is correct SQL syntax.
The only available way to mod 11.2g seems to be through SQL command line.

Please advise on the create CONNECT role syntax

Thanks Lfromant
0
Comment
Question by:lfromant
2 Comments
 
LVL 7

Accepted Solution

by:
Docteur_Z earned 500 total points
ID: 38773677
Hi,
You're on the right way.
See examples from documentation :
http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6012.htm#SQLRF01311
http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9013.htm#SQLRF01603

But for security reasons, I wouldn't give as much rigths to a role which is meant for connection. I'd add another role for schema property.
0
 

Author Closing Comment

by:lfromant
ID: 38773699
Thanks.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trying to get a Linked Server to Oracle DB working 21 69
ServiceCenter IR Query Expressions 1 40
Exchange 2013 tmp files 3 41
SQL2016 to ORACLE11G linked-server 6 28
Read about achieving the basic levels of HRIS security in the workplace.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question