plsql developer如何查询SQL语句执行历史记录

相信很多在plsql developer调试 oracle的朋友,经常会遇到在plsql developer执行的某一条SQL语句没有保存,那么我们在plsql developer下如何找到我们执行过的SQL语句呢,其实通过下列 方法很容易实现。

首先打开plsql developer 工具,并新建SQL窗口,如下图
id="iframe_0.27839127430916744" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://www.feihujs.com/uploads/140326/1-140326134955514.jpg?_=5798442%22%20style=%22border:none;max-width:1209px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.27839127430916744',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; color: rgb(57, 57, 57); font-family: verdana, "ms song", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; border-width: initial; border-style: none; width: 1017px; height: 505px; background-color: rgb(250, 247, 239);">

在SQL窗口,使用快捷键plsql developer中按ctrl+e 就会调出历史记录了,历史记录文件默认保存在C:\Users\Administrator\AppData\Roaming\PLSQL Developer\PLSRecall.dat ,如果你清楚PLSRecall.dat文件后,在按ctrl+e就不会调出下列窗口界面了。

id="iframe_0.9979423829728198" src="data:text/html;charset=utf8,%3Cimg%20id=%22img%22%20src=%22http://www.feihujs.com/uploads/140326/1-140326135304128.jpg?_=5798442%22%20style=%22border:none;max-width:1209px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20()%20%7Bvar%20img%20=%20document.getElementById('img');%20window.parent.postMessage(%7BiframeId:'iframe_0.9979423829728198',width:img.width,height:img.height%7D,%20'http://www.cnblogs.com');%7D%3C/script%3E" frameborder="0" scrolling="no" style="margin: 0px; padding: 0px; color: rgb(57, 57, 57); font-family: verdana, "ms song", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; border-width: initial; border-style: none; width: 1139px; height: 650px; background-color: rgb(250, 247, 239);">

通过上面的方法是不是很容易,就找到历史使用的SQL语句。

http://www.feihujs.com/database/oracle/2014/0326/1205.html 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值