Read all data (tables, views, sequences), as if having SELECT rights on those objects, and USAGE rights on all user-created schemas.
- Replace
db_name
with the relevant database name. - Run the
Database
section of the script. - Run the
Schemas
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Tables
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Sequences
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. GRANT
this role to database users as needed.
Write all data (tables, views, sequences), as if having INSERT, UPDATE, and DELETE rights on those objects, and USAGE rights on all user-created schemas.
- Replace
db_name
with the relevant database name. - Run the
Database
section of the script. - Run the
Schemas
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Tables
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Sequences
section of the script to generate a table of SQL strings to execute. Execute the SQL strings. GRANT
this role to database users as needed.