|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: why i cant create synonym [message #296547 is a reply to message #296546] |
Mon, 28 January 2008 02:46   |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |

|
|
OP,
Actually "connect" is role with many privileges.
SQL> grant connect to a;
Grant succeeded.
SQL> conn a/a@db1
Connected.
SQL> select * from session_privs;
PRIVILEGE
----------------------------------------
CREATE SESSION
ALTER SESSION
CREATE TABLE
CREATE CLUSTER
CREATE SYNONYM
CREATE VIEW
CREATE SEQUENCE
CREATE DATABASE LINK
8 rows selected.
It is not recommended to grant "connect" role to directly database user always better to grant explicitly required privileges.
PS: In my previous post i was show two way to grant "create synonym" privileges but it is not recommended to grant "connect" role directly so i apologize for that.
[Updated on: Mon, 28 January 2008 02:46] Report message to a moderator
|
|
|
|
|
|
|
|