Read all data (tables, views, sequences), as if having SELECT rights on those objects, and USAGE rights on all user-created schemas.
- Replace
db_namewith the relevant database name. - Run the
Databasesection of the script. - Run the
Schemassection of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Tablessection of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Sequencessection of the script to generate a table of SQL strings to execute. Execute the SQL strings. GRANTthis 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_namewith the relevant database name. - Run the
Databasesection of the script. - Run the
Schemassection of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Tablessection of the script to generate a table of SQL strings to execute. Execute the SQL strings. - Run the
Sequencessection of the script to generate a table of SQL strings to execute. Execute the SQL strings. GRANTthis role to database users as needed.