经常进行查询,写着select * from 太费时间,能不能直接输入一个s 就能自动出来 select * from 吗?
发现pl/sql中可以配置自动替换
在PL/SQL的安装目录下面:$/PLSQL Developer/PlugIns 中添加一个文本文件,比如命名为:AutoReplace.txt。文本文件中填写如下内容:
st = select t.* ,t.rowid from t
s = select a.* from a
d = delete from where
u = update a set a. where a.
w = where
打开PL/SQL,在Tools->Perferences->Editor中Autoreplace选择配置的AutoReplace.txt文件
然后Tools->Perferences->Key Configuration 中,配置一下Editor:AutoReplace 中把快捷键设置一下。
ok了。