Files
oracle-deep-data-security-lab/scenarios/04-view-bypass-mac/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
334 B
SQL

SET PAGESIZE 100
SET LINESIZE 200
ALTER SESSION SET CURRENT_SCHEMA = ADMIN;
PROMPT Query base table
SELECT account_id, account_name, owner_name, region, balance
FROM dds_mac_accounts
ORDER BY account_id;
PROMPT Query view
SELECT account_id, account_name, owner_name, region, balance
FROM dds_mac_accounts_view
ORDER BY account_id;