Files
oracle-deep-data-security-lab/scenarios/03-pii-row-column-cell/sql/04_test_queries.sql
Rodrigo Pace 8314351c98
Some checks failed
Repo Quality / structure (push) Has been cancelled
Fix local end user session grants and schema resolution
2026-05-13 14:49:12 -03:00

15 lines
296 B
SQL

SET PAGESIZE 100
SET LINESIZE 200
ALTER SESSION SET CURRENT_SCHEMA = ADMIN;
SELECT employee_id, first_name, last_name, email, manager, ssn, salary, phone
FROM dds_employees
ORDER BY employee_id;
UPDATE dds_employees
SET phone = '555-9999'
WHERE email = ORA_END_USER_CONTEXT.username;
COMMIT;