database - 我想使用 oracle xe 18c dbms 运行 sql 查询或命令
问题描述
我想在 oracle xe dbms 18c windows 版本中运行 sql 查询和命令,但找不到可以打开 sql 命令行界面的选项
解决方案
命令行工具称为SQL*Plus。打开操作系统命令提示符窗口(Windows 上的 CMD)并键入sqlplus
(可选地,提供连接字符串)并按 ENTER。
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
M:\>sqlplus scott/tiger@orcl
SQL*Plus: Release 11.2.0.1.0 Production on ╚et Ruj 26 08:50:38 2019
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
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>
或者,下载并安装Oracle 开发的免费 GUI 工具SQL Developer 。您可以在找到数据库的同一位置找到它 - OTN 下载部分。