Oracle SQL Developer:如何取回已执行的SQL语句?
在 SQL Developer 中,您可以固定查询结果。运行数十个查询后,很难从历史记录或 SQL 工作表中找到特定查询,但您可能通过查看固定的查询结果知道要查找哪个查询。如果将鼠标放在固定查询结果的选项卡上,生成该结果的执行 SQL 将显示为工具提示,但是,我不知道如何复制该 SQL 语句并再次执行它。有人可以帮忙吗?
In SQL Developer, you can pin the query result. After running dozens of querys, it is hard to find certain one from history or SQL worksheet, but you probably know which query you are looking for by viewing the pinned query results. If you put your mouse at the tab of the pinned query result, the executed SQL to generate that result is shown as a tool tip, however, I don't know how to copy that SQL statement and exeture it again. Can anyone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只想重新执行查询,则可以在固定的查询结果窗口中单击
刷新
按钮。如果您想复制+粘贴语句以便在重新执行之前对其进行修改,在固定的查询结果窗口中有一个
SQL
按钮,该按钮将显示所使用的 sql 命令并让您复制它。(我使用的是SQL Developer 3.1)
If all you want to do is re-execute the query, from the pinned query result window you can click on the
Refresh
button.If you want to copy+paste the statement in order to modify it before re-executing, in the pinned query result window there is an
SQL
button that will show you the sql command used and will let you copy it.(I am using SQL Developer 3.1)