Initial Oracle Deep Data Security lab kit
This commit is contained in:
14
scenarios/04-view-bypass-mac/sql/00_schema.sql
Normal file
14
scenarios/04-view-bypass-mac/sql/00_schema.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
WHENEVER SQLERROR EXIT SQL.SQLCODE
|
||||
|
||||
CREATE TABLE dds_mac_accounts (
|
||||
account_id NUMBER PRIMARY KEY,
|
||||
account_name VARCHAR2(100),
|
||||
owner_name VARCHAR2(60),
|
||||
region VARCHAR2(30),
|
||||
balance NUMBER(12,2)
|
||||
);
|
||||
|
||||
CREATE VIEW dds_mac_accounts_view AS
|
||||
SELECT account_id, account_name, owner_name, region, balance
|
||||
FROM dds_mac_accounts;
|
||||
|
||||
Reference in New Issue
Block a user