Files
mip/Data/BulkLoad/EFT/Nominations/schema/create_api_users.sql

22 lines
351 B
SQL

SPOOL create_api_users.lst
PROMPT Create an OMT RO user
CREATE USER eft_omt IDENTIFIED BY eft_omt
/
GRANT eft_omt_ro TO eft_omt
/
PROMPT Create a PUW RO user
CREATE USER eft_puw IDENTIFIED BY eft_puw
/
GRANT eft_puw_ro TO eft_puw
/
PROMPT Grant the API RO role to both users
GRANT eft_api_ro TO eft_omt, eft_puw
/
SPOOL OFF