Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-01-14
2
Medium Priority
?
1,294 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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

916 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