Unregister a module

When unregisters a module, it removes each element of the module from the database using SQL DROP statements.
Restriction: does not unregister a module that provides a required interface for other modules or database objects.
To unregister a module in the specified database, enter the following command:
unregister module_name database_name

In the preceding example, module_name represents the name of the module directory. These names typically follow the form of the module name followed by the version number. If is not currently connected to the database specified in the unregister command, it connects to the new database, prepares all available modules, and displays a message about the success or failure of the preparation before continuing with the unregister command.

If the unregistration of a module fails, returns the database to its prior state. To see the SQL statements that failed, look at the corresponding log file (see View log files) and see Troubleshooting registration problems, for possible solutions.