Deleting a schema

Deleting a schema can be be done in various ways depending on what it is you are actually wanting to delete.

Local databases

As local databases are not shared the scenario for deletion is quite simple. You are just asked to confirm that you want to delete the schema. If you say yes then all the database files will be permanantly deleted from your disk.

Remote databases

As remote databases are possibly shared the scenario for deletion is more complex. You need to decide:

  • Whether to just remove the definition of the schema from your IJC project and leave the database contents intact for other users.

  • Or to also delete the contents of the database, and if so, exactly what to delete.
    When you ask to delete the schema you will initially see a confirm dialog that ask you to confirm the removal of the schema definition from IJC, and whether you wish to also delete any of the actual contents of the database.

images/download/attachments/49828678/delete-schema-confirm.png

Then if you chose to also delete the contents of the database you will then see a dialog asking what it is you want to delete.

Note:

If you are not currently connected to the database you will go through the connection process before you see this dialog.

images/download/attachments/49828678/delete-schema-details.png

At this stage you can choose to delete any of these categories of tables:

  • The IJC meta data tables (with names of IJC_*). These contain the IJC configuration information, but no real data.

  • The actual data tables containing you structure and other tables

  • The JChem property table(s) containing meta data about the JChem tables
    You should NOT delete any of these tables if other users are still wanting to access the database using IJC. If other users are accessing the database tables through other mechanisms it would be safe to delete the IJC meta data tables, but not the data tables or JChem property tables.