在登录数据库的使用!sql

发布时间:2020-08-14 13:27:54 作者:记录每一次错误
来源:ITPUB博客 阅读:145

今天在登陆数据库的时候使用!sql登录

[oracle@p520b ~]$ !sql

sqlplus /  as sysdba


SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 20 10:40:07 2019


Copyright (c) 1982, 2013, Oracle.  All rights reserved.



Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options


SYS@gbps>

!sql  这个感叹号在shell中是直接调用history中执行过的命令,可以是数字,也可以是字符串, !sql就只引用最近以sql开头的命令

   你把.bash_history清空再执行"!sql"就不行了

推荐阅读:
  1. SQL Server数据库无法用sa账户登录
  2. 登录 Oracle SQL Developer

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

sql 使用 数据库

上一篇:Coherence Part IV: Merging Data And Processing

下一篇:Mycat中间件实现Mysql数据分片( 下篇)

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》