Entering content frame

 Notes on Using the Web SQL Studio 

If your database instance was set up using a software version below 7.2.05, take the following notes into account.

Customizing the Database Instance

So that you can use the full scope of the Web SQL Studio, you must perform the following actions in the database instance that you want to access with the Web SQL Studio:

...

       1.      Copy the file <independent_program_path>/web/env/QP.ins to the directory <dependent_path>/env.

       2.      Reload the system tables. Enter the following command:
dbmcli –u <dbm_user>,<password> -d <database_name> load_systab

You only need to perform these steps once.

Access to Stored Statements with Changed User Name

If a user name is changed in the database instance that you access with Web SQL Studio, this user can no longer access his or her Stored Statements in the same way as before.

To enable the user to access his or her Stored Statements again, perform the following steps:

...

...

       1.      Start the Web SQL Studio as a database administrator (DBA user).

       2.      Enter the following SQL statements:
UPDATE sysdba.wa_inode SET "VIEWOWNER" = ’<new_user_name>’ WHERE "VIEWOWNER" = ’<old_user_name>’
UPDATE sysdba.wa_container SET "VIEWOWNER" = ’<new_user_name>’  WHERE "VIEWOWNER" = ’<old_user_name>’

Deleting Stored Statements of a Deleted User Name

If a user name is deleted in the database instance that you access with the Web SQL Studio, the Stored Statements of this user are not automatically deleted too.

To delete the Stored Statements in this situation, you have to carry out the following steps:

...

       1.      Start the Web SQL Studio as a DBA user.

       2.      Enter the following SQL statements:
DELETE sysdba.wa_inode WHERE "VIEWOWNER" = ’<deleted_user>’
DELETE sysdba.wa_container WHERE "VIEWOWNER" = ’<deleted_user>’

 

Leaving content frame