You are on page 1of 1

C:\Users\user>sqlplus

SQL*Plus: Release 11.2.0.2.0 Production on Mar Jun 11 20:24:53 2019

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Enter user-name: system


Enter password:

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

SQL> create tablespace clases


datafile'C:\oraclexe\app\oracle\oradata\XE\bdclases.DBF' size 50m;

Tablespace created.

SQL> create user jsuarez identified by 123 default tablespace clases temporary
tablespace temp quota unlimited on clases;

User created.

SQL> create role ADMINI;

Role created.

SQL> grant create session, create ANY TABLE, UPDATE ANY TABLE, DELETE ANY TABLE,
ALTER ANY TABLE, INSERT ANY TABLE,CREATE PUBLIC SYNONYM, CREATE ANY PROCEDURE,
EXECUTE ANY PROCEDURE, CREATE ANY SEQUENCE, CREATE TRIGGER TO ADMINI;

Grant succeeded.

SQL> GRANT ADMINI TO jsuarez;

Grant succeeded.

SQL> commit;

Commit complete.

SQL>