How to create a user in Oracle 11g and grant permissions

The Solution to How to create a user in Oracle 11g and grant permissions is


Connect as SYSTEM.

CREATE USER username IDENTIFIED BY apassword;

GRANT CONNECT TO username;

GRANT EXECUTE on schema.procedure TO username;

You may also need to:

GRANT SELECT [, INSERT] [, UPDATE] [, DELETE] on schema.table TO username;

to whichever tables the procedure uses.

~ Answered on 2012-02-25 19:56:28


Most Viewed Questions: