SQLcl on OTN | Getting Started Video | Downloads | FAQ | Forum
Daemon Support: SQLcl can run as a background service, supporting scheduled tasks and providing detailed logging of events, job results, and errors.
Projects Enhancements
Oracle Home Support THICK Connections on Windows: A directory named instantclient located in the directory containing the sql.exe file (normally sqlcl/bin) is combined with the driver jarfile (ojdbc11.jar) and prepended to the classpath. A similar entry for %ORACLE_HOME% is prepended after instantclient. On Windows there is no validation of the version of a database, client, or instant client install, although some logic is used to determine the presence of an ORACLE_HOME and thus whether thick should be available and the default. A misconfigured ORACLE_HOME (for example, a version earlier than 23) will likely result in connection errors when the thick driver is used.
THICK Connections on Linux/Unix/OS X: An effort is made to validate the version of the client install. The environment variable ORACLE_HOME is assumed to point to either a full install or an instant client. For full client and database installs, $ORACLE_HOME/bin/oraversion is used to determine the install version. For instant client installs, the native library libocijdbc is used to determine the version; the filename contains the major version of the driver (for example, a 23.3 instant client on the Mac will have a library named libocijdbc23.dylib). If the detected version is less than 23, the user is notified that a minimum of 23 is required and the ORACLE_HOME is ignored (the classpath is left unaltered and the thick driver is not available). If the version is at least 23, the classpath is modified to prepend the ojdbc11.jar library from the ORACLE_HOME location and thick will be available and the default driver.
Code Scan Improvements: The -list-rules sub-command now prints the list of available rules.
If your bug fix isn’t listed above, please refer to My Oracle Support to check its status.
You are supported by Oracle Support under your current Oracle Database Support license.
Log Oracle SQLcl bugs and issues using My Oracle Support.
To determine the version of SQLcl run this command: sql -version
Documentation on using SQLcl is provided on the oracle.com website here.
This section describes the restrictions on use.
ORACLE_HOME usageWhen using an ORACLE_HOME or instant client with SQLcl, the client version must be 23ai.
Liquibase usage with APEXLiquibase support for APEX requires APEX version 18 and above.
In the forum, you can discuss topics with the SQLcl community around the world and leave feedback for the development team.
Be sure to use clear subject lines to initiate a thread. Provide a complete and clear description of the issue, including steps to reproduce the issue.
Try to avoid using old, unrelated threads for a new issue.