EVALUACION DE CONSULTAS EN ORACLE
DROP USER CONSULTAS CASCADE;
CONNECT SYS/A AS SYSDBA; CREATE USER CONSULTAS IDENTIFIED BY A; GRANT CONNECT TO CONSULTAS; REVOKE CONNECT FROM CONSULTAS; ALTER USER CONSULTAS DEFAULT TABLESPACE USERS; GRANT DBA TO CONSULTAS;
PROMPT "CONSULTA 1" SELECT USERNAME
FROM DBA_USERS
PROMPT "CONSULTA 2" SELECT USERNAME OBJECT,USERNAME TYPE FROM DBA_USERS;
PROMPT "CONSULTA 3" SELECT USERNAME PASSWORD FROM DBA_USERS;