Oracle 小技巧

Oracle小技巧

###add at 18-10-11

1  ed

在sqlplus当中 如果前一条语句输入有误的话

可以输入ed再回车。在进行编辑

输入ed后有弹窗,可以对之前的输入语句进行编辑

编辑完成后点击确定

 ### 删除一个单词快捷键

ctrl+w

###  sqlplus 小用法

[oracle@oracle ~]$ sqlplus scott/orcl

SQL*Plus: Release 11.2.0.3.0 Production on Fri Oct 12 00:49:12 2018

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

### add 关于ed的补充 18-10-14

SQL> define _EDITOR=vim

只有这样处理才可以用vim编辑器处理ed后的语句

原文地址:https://www.cnblogs.com/nodchen/p/9774983.html