1. 说明
Oracle SQL Developer Command Line (SQLcl)是一个免费的与ORACLE数据库的交互的命令行工具。支持执行SQL,PL/SQL。SQLcl提供了命令行编辑,命令重新调用,和所有SQL*PLUS的脚本。
主要特性:
-
In-Line Editor- edit multi-line statements and scripts interactively at the SQLcl prompt
-
Command History - cycle through your 100 previous scripts/commands
-
Completion Insight - auto-complete object names or keywords using the tab key
-
New Commands - CTAS, DLL, Repeat, ALIAS, SCRIPT, FORMAT, and many more!
-
Client Side Scripting - execute JavaScript to manipulate query results, build dynamic commands, interact with the session, and much more
-
SQLPlus Support - SQLPlus environment settings, commands, and behaviors
下载链接:
http://www.oracle.com/technetwork/developer-tools/sqlcl/overview/sqlcl-index-2994757.html
SQLcl18.1需要JAVA 1.8及以上版本,但是JAVA 9,10还没有被支持。
注意:这个工具不需要安装ORACLE客户端即可使用
2. 安装
安装很简单,配置好JAVA路径,解压SQLcl压缩文件即可了。
可以配置到环境变量里方便执行,调用方式和SQL*PLUS一样
C:/Windows/System32>sql sys/oracle@192.168.1.90:1521/cndba as sysdba
SQLcl: 发行版 18.1.1 Production, 发行日期 星期一 六月 11 11:57:40 2018
版权所有 (c) 1982, 2018, Oracle。保留所有权利。
已连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL>