Smart Grid Applications Overview > Responder Overview > Upgrade Existing Responder Implementation > Upgrade Responder Tables > Oracle > 9.2 Upgrade Scripts - Oracle |
Version: 10.1 |
The following implementation scripts must be run on your Responder Oracle database to add the correct tables, views, and indices to upgrade Responder to version 9.2. When upgrading Responder execute ONLY the Upgrade script(s) that fall between your previous release and the new release to which you are upgrading. Do NOT execute any Implementation Scripts.
Responder requires two schemas: Responder and Archive. Some scripts are run on the Responder schema and some on the Archive schema. In the list below, the schema on which the script should be executed is in parentheses.
- 920_01_RxTables_oracle.sql (Responder)
- 920_02_ArcJoinViews_oracle.sql (Responder)
- 920_03_ArchiveTables_oracle.sql (Archive)
- 920_04_GenerateGrants_oracle.sql (Responder and Archive)
@ D:\Program Files\Miner and Miner\Responder\Developer Resources\ 9.1.2 SP1 - 9.2.0 Upgrade Scripts\Oracle\920_01_RxTables_oracle.sql
Before executing this script, you will need to modify the feature class names within it to match those in your geodatabase. Open the script and ensure that the feature class names in the script match the corresponding feature class names in your geodatabase. If you have done this for a previous release, you may use the prior script and copy/paste the new views into it. This would prevent the need to re-update feature class names for all views. |
select 'grant insert,delete,update,select on ' ||table_name||' to rx_user;' from user_tables; select 'grant select on ' ||view_name||' to rx_user;' from user_views;
The first line assigns permissions to a role for tables. The second line assigns permissions to a role for views. You will need a line for each role to which you wish to assign permissions to tables and views. If you wish to assign permissions to a role on both tables and views, that role will require two lines of code. The next few steps describe how to perform the modifications you may wish to make for each role.
You may execute the same script for the Responder database and Archive database. The script MUST be executed on both databases. |
spool d:\Program Files\script.sql
@d:\Program Files\Miner and Miner\Responder\Developer Resources\ 9.1.2 SP1 - 9.2.0 Upgrade Scripts\Oracle\920_04_GenerateGrants_oracle.sql
spool off
@d:\Program Files\script.sql