|
SQLcl on OTN | Getting Started Video | Downloads | FAQ | Forum |
-home allows you to specify the directory where your database
connections will be stored. This allows for a developer to use one set of connections for
regular work via SQL Developer Extension for VS Code and SQLcl, and another set of database
connections specifically for their AI Agents via our MCP Server.
project verify allows you to validate the structure of your project. We've added many new tests for your project
alt+r enter search term, ctrl+R to executeSET AUTOSUGGESTIONS on as you type a query, if we find a match
in the SQL History you will see the suggested statement to complete, activate by using Right Arrow key
Version, replaces 'show version,' displays the version of SQLcl and can also be used to prevent a version of SQLcl being used not in an approved list.
versionversion -check-in 25.2.0,25.3.0,25.4set linenumbers on/off - Provides flexible control over line number visibility in
multi-line SQL statements. On by default.
/search term.
For help on a topic type help
<topic>
List of Help topics
/ Executes the most recently executed SQL command or PL/SQL block which is stored in the SQL
@ Runs the SQLcl statements in the specified script. The script can be called from the local file system or a web
@@ Runs the specified script. This command is almost identical to the @ command. It is useful for running nested scripts because it has the additional functionality of looking for the nested script in the same url or path as the calling script
ACCEPT Reads a line of input and stores it in a given substitution variable
ALIAS Alias is a command which allows you to save a sql, plsql or sqlplus script and assign it a shortcut command
APEX Export APEX ApplicationsProjects
Liquibase
generate-schema -split -sql fails in Windows CMD terminalgenerate-schema including FLASHBACK DATA ARCHIVE (FDA) INDEXESGeneral
set define off after a merge statement causes re-execution of MERGEBREAK on multiple columns now works in SQLcl (E.g., BREAK ON COLUMN_N)apex export -exptype readable_yaml failsSET HEADING OFF in ansiconsole formatIf 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 usage
When using an ORACLE_HOME or instant client with SQLcl, the client version must be 23ai.
Liquibase usage with APEX
Liquibase 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.