SQLcl on OTN | Getting Started Video | Downloads | FAQ | Forum
Database Development Workflow: PROJECT command
The project command is a powerful tool designed to standardize database software versioning and create releasable artifacts, including APEX applications. It supports a consistent model of development and operations, enabling repeatable builds that can be applied in a specific order.
- Key features include versioned feature management, release artifact creation, ordered installation, source control integration, and automated release packaging.
- The command uses various subcommands such as init, config, export, ticket, release, gen-artifact, deploy, and verify to manage the entire lifecycle of database changes, from initial project setup to deployment in production environments.
- It leverages Git for branching and diffing, and uses Liquibase for creating immutable changesets, allowing for structured and controlled database development processes.
Multilingual Engine JavaScript Module management: MLE command
New commands for managing multilingual engine (MLE) libraries in the database as modules.
- MLE create-module to create a module. This requires a valid JavaScript file path, the module name, and allowing options such as specifying the language, metadata, schema, and version.
- MLE alter-module command allows for altering existing modules by updating their metadata, with similar options available for schema and verbosity.
- Key options for both commands include paths for JSON metadata descriptions, ensuring that either metadata or a metafile is provided, but not both. This functionality streamlines the integration of JavaScript libraries within Oracle Database, enhancing its support for modern development practice.
Microsoft Access Migrations: MDB command
Import tables and data from Microsoft Access (MDB) files into Oracle database schemas.
- Users can specify an MDB file to list all tables and views or selectively import specific ones, while also defining the destination Oracle schema for the migration.
- The command syntax includes options such as list, copy, and others for managing the import process, allowing users to determine if they want to replace or append data, as well as set a prefix for table names.
- The imported data is organized into necessary tables, including a special views_table to store saved queries from Access.
- Script is designed to be re-runnable for efficient data transfer during cut-over periods, ensuring users cannot access the MDB file during migration.
Liquibase Updates
SQLcl now supports "liquibase formatted SQL" changesets. This allows developers to embed Liquibase commands directly within SQL files.
JDBC Driver
Oracle Database 23ai JDBC driver is now included in SQLcl.
The main bugs of note this release are:
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 SQLcl in an ORACLE_HOME, it must be a minimum version of 21c.
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.