1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| SQL> create user oussama identified by oussama default tablespace users temporary tablespace temp;
Utilisateur créé.
SQL> create role perso identified by perso;
Rôle créé.
SQL> grant create session to perso;
Autorisation de privilèges (GRANT) acceptée.
SQL> grant resource to perso;
Autorisation de privilèges (GRANT) acceptée.
SQL> grant connect to perso;
Autorisation de privilèges (GRANT) acceptée.
SQL> grant perso to oussama;
Autorisation de privilèges (GRANT) acceptée.
SQL> grant create table to oussama;
Autorisation de privilèges (GRANT) acceptée.
SQL> connect oussama
Entrez le mot de passe : *******
Connecté.
SQL> create table tabletest
2 (
3 attribut VARCHAR2(20) not null
4 );
create table tabletest
*
ERREUR à la ligne 1 :
ORA-01950: pas de privilèges sur le tablespace 'USERS' |