惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
月光博客
月光博客
IT之家
IT之家
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
小众软件
小众软件
C
Check Point Blog
B
Blog RSS Feed
H
Help Net Security
博客园 - 司徒正美
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

博客园 - 爱跳舞的程序员

freemarker对数字格式的处理 FilePathJaxbUtil(xml文件转JavaBean对象工具) freemarker对日期的处理 将博客搬至CSDN css+jquery右下角弹框提示框(工作需要就开发调式了) textarea文本居中的问题 bat批量复制文件(一键打包更新代码,避免手动一个个复制) url特殊字符传递参数解决方法(特指超链接) js 拼接字符串带变量(js方法参数单双引号拼接的问题记录) 表单提交由submit改为异步的方式 解决复制select下拉框时 值没法复制的问题 Jquery操作select汇总 博文阅读密码验证 - 博客园 ztree树添加右击菜单 ligerLayout布局(左右分栏) 模糊查询+首字母查询组合框 displayTag解决中文排序、和翻页查询出错的问题 jquery之ztree树入门(输出最简单树形) java 根据word xml模板生成word(个人v2版本)
PL_SQL常用快捷键
爱跳舞的程序员 · 2024-04-22 · via 博客园 - 爱跳舞的程序员

本文摘自:https://www.cnblogs.com/Ronson-Shen/p/3939798.html

1、 快速输入;

Tools-->Preferences-->User Interface-->Editor-->AutoReplace,将Enabled复选框的按钮勾选上,点击那个文件路,选中设置快键方式的文件,如下面的shortcuts.txt文件所示,然后再输入的时候按下对应的快键键,然后按下space键,就可以快键输入了。

shortcuts.txt文件格式如下所示:

st = select t.*, t.rowid from  t
sc = select count(*) from
sf = select * from
sfe = select e.*, rowid from

s = select
f = from
w = where
o = order by
g = group by
fu = for update

tel = select * from tbcs.subscriber@nxtbcs1 where servnumber = '
log = select e.*, rowid from rptacc.report_log e where rptcycle = 200701 and proc like '%%' and rptgroup like '%%' order by starttime desc
logl = select e.*, rowid from monitor.statl_create e where cycle = 20070101 and object_code like '%%'
loga = select e.*, rowid from rptcdr.smsnotify e where othertelnum = '13995000042' and notifytime >= trunc(sysdate) order by processtime
a = and
tdd = to_date('20070101','yyyymmdd')
d = dual
td = to_date('20070101 00:00:00','yyyymmdd hh24:mi:ss')
tc = to_char(sysdate,'yyyymmdd hh24:mi:ss')
tcc = to_char(sysdate,'yyyymmdd')
c=cycle
r=region
b=between
oida = select * from tbcs.subscriber@nxtbcs1 where oid =
spa=select tablespace_name, round((sum(spacesize) - sum(freesize)) / sum(spacesize) * 100, 2) userate, sum(spacesize) allspace, sum(freesize)  freespace, sum(spacesize) - sum(freesize) usespace from (select tablespace_name,round(sum(bytes) / 1024 / 1024, 2) spacesize,0 freesize from dba_data_files group by tablespace_name union all select tablespace_name,0 spacesize,round(sum(bytes) / 1024 / 1024, 2) freesize from dba_free_space group by tablespace_name) group by tablespace_name order by 2 desc;
soul=select * from dba_source where lower(text) like '%%'
souu=select * from dba_source where upper(text) like '%%'
sfd=select * from dict.dict_item where itemid = '
obj=select * from dba_objects where lower(object_name) like '%%' and object_type like '%%'
sfa = select e.*, rowid from dict.statd_parameter e where groupid like '%%' and  itemid like '%%' and misid like '%%'
sfg=select * from bak.statb_user_info where cycle = 200701 and region = 951 and servnumber = '

2、 执行

F8

3、 选取代码

Shift+Home,选中从光标到行首的代码;

Shift+End:选中光标到行尾的代码;

4、 智能提示

Alt+/

5、 执行过程

F5

PL_SQL常用设置

1、 智能提示

Tools-->Preferences-->User Interface-->Code Assistant-->选中Authomatically Activated