You are on page 1of 1

slect * from scott.

dept;
--para ver los usuarios de nuestro bd
select username, account_status from dba_users;
para abilitar con un cambio de contrasea
alter user owbsys identified by 123456;
alter user owbsys identified by 123456 account unlock;
--creamos un usuario
create user orion_dw_owner identified by orion_dw_owner1 account unlock;
--asignamos privilegios
grant all privileges to orion_dw_owner;