You use the uninstall program SDBUNINST to uninstall some or all of the SAP DB software components, while taking into account the dependencies between them. It is included in the SAP DB software from Version 7.4.
You can use it to uninstall SAP DB software as of Version 7.2.
Overview of Options for the Program SDBUNINST
For a short description of the standard uninstallation of all the SAP DB software, see the documentation Database Software Installation Guide: SAP DB 7.4
See Variables, Supported Operating Systems and Platforms
· One or more SAP DB software versions are installed on your server. These include at least one installation of Version 7.4, which includes SDBUNINST.
· You have administrator rights for your server.
...
1. On UNIX/Linux: Switch to the rootshell.
On Microsoft Windows: Open the command prompt on your server.
2.
Stop the SAP
DB database instances on your server one by one with the command:
dbmcli –d
<database_name> -u <dbm_user>,<password>
db_offline
3.
Delete the
SAP DB database instances on your server one by one with the command:
dbmcli –d
<database_name> -u <dbm_user>,<password>
db_drop
4. Call the uninstall program with your chosen options:
¡ If you want to uninstall all SAP DB software components, specify the option –all; otherwise, specify your chosen component with the option –package.
¡ If there is more than one software package with the same name on your server, specify the option -package_dir in addition to the package name. You can determine the directory of a software package (<package_directory>) with the option -l|-list.
¡
If you want
to uninstall a software component that is still needed by another component,
specify the option -autoresolve.
The system then
uninstalls all those software components that are dependent on the specified
component.
Otherwise, the
uninstall process terminates with the following message:
cannot delete package
\"<package>\" (<package_directory>) - other package (s) are
dependent
sdbuninst -all | -package <package_name>[-package_dir <package_directory>] [-autoresolve]
5. Start the uninstallation by entering y.
The specified SAP DB software components are uninstalled. At the same time, the system checks the dependencies between the components.
If the name of the specified software package is not unique, the system shows you a list of packages with the same name. Choose a package ID and confirm.
You see a message about the successful completion of the uninstallation.
The specified SAP DB software component is uninstalled, along with all dependent components.