9.18 SDK
You can use the SDK command to
install SDKs (Software Development Kit) from external cloud providers such as Azure and OCI.
This command helps to install external software with all its related dependencies. The SDKs
available are jdbc-oci
and jdbc-azure
.
sdk|sd [ [list|l] | [install|i] | [update|u] | [remove|r] ]
List
Lists the available SDKs with their available versions and status (installed or not). For an update, this command shows the latest version.
Install
Installs the latest SDK from a cloud provider. The install command has verbose (-verbose) and debug (-debug) modes available.
After the install is over, restart
SQLcl. The installed SDKs and its dependencies appear in the created directory under
sqlcl/lib/sdks/[the new sdk]
.
Note:
When installing SDKs with the SDK command, the dependencies that are already installed in the classpath with SQLcl are not re-installed.
SQL> sdk install jdbc-oci
Downloading the ojdbc-provider-oci SDK and all its dependencies.
The jdbc-oci SDK is installed successfully, restart SQLcl for changes to take effect.
Update
Updates the selected SDK to the latest version. This command removes and re-installs the SDK and its dependencies
You can also update by using the sdk install
command on an
already installed SDK.
Remove
Deletes the created directory for the SDK installed inside the SDK's directory in the lib folder. The contents of the directory are also deleted.