平时对数据库操作的时候,输入DML语句,很浪费时间,我们想要这样的效果 ,输入sf,plsql就会自动输入select * from。我们需要在plsql中进行如下设置即可:
工具(tools)-->首选项(preferences)-->编辑器(editors)-->自动替换(autoreplace)下面的编辑(edit),在弹出的输入框中输入:
sf = select * from
sr = select t.*, t.rowid from t
sd = select distinct * from
sc = select count(*) from
in = insert into table values()
up = update set = where
df = delect from where
s = select
f = from
w = where
a = and
c = count(*)
,点击保存(save)。试一试,是不是输入sf,就会自动变成select * from,w自动变成where了