SQLDeveloper:执行当前行而不突出显示

编程入门 行业动态 更新时间:2024-10-25 02:23:21
本文介绍了SQLDeveloper:执行当前行而不突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在Toad中,无需突出显示它即可轻松执行当前行.假设您有一个这样的工作表:

In Toad one can easily execute current line without highlighting it. Let say, you have a worksheet like this:

select * from item -- cursor here select * from product

当我单击CTRL+Enter时,我只希望执行光标的那一行.在SQLDeveloper中,如果没有第二行,则CTRL+Enter可以按照我的要求工作.基本上,我想做与此处相同的操作,但是由于某种原因,我找不到我正在使用的SQLDeveloper版本中的Tools -> Preferences -> Window Types -> SQL Window and check "AutoSelect statement":4.0.0.13,构建Build MAIN: 13.80.

When I click on CTRL+Enter I want only the line where the cursor is to be executed. In SQLDeveloper, if there is no second line, CTRL+Enter works as I want. Basically, I want to do the same as described here, but for some reason, I can't find the Tools -> Preferences -> Window Types -> SQL Window and check "AutoSelect statement" in the version of the SQLDeveloper I am using: 4.0.0.13, build Build MAIN: 13.80.

好像是在Oracle SQLDeveloper的4.x中删除了此功能?

Seems like, this functionality is taken out in the 4.x of Oracle SQLDeveloper?

推荐答案

对于那些也想知道同一件事的人,这是您必须要做的.用;结束每个语句,它会起作用.

For those who also wonder about the same thing, here is what you gotta do. End each statement with ; and it works.

select * from item ; select * from product;

更多推荐

SQLDeveloper:执行当前行而不突出显示

本文发布于:2023-11-10 02:05:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574051.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:而不   SQLDeveloper

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!