SQLDeveloper: execute current line without highlighting

后端 未结 4 673
春和景丽
春和景丽 2021-02-13 20:42

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 p         


        
4条回答
  •  爱一瞬间的悲伤
    2021-02-13 21:06

    I also ran into a similar situation where Ctrl+Enter shortcut stopped working for executing any statement and had to highlight the entire statement for executing it.

    How it worked: (i) By removing/commenting out all the comments in the worksheet i.e. just have only the Sql statements in the worksheet, if at all you have put any statements/comments in the worksheet for your understanding, just disable those and then Ctrl+Enter starts working.

    PS: I didn't do any other changes apart from this to make this shortcut work.

    Cheers

提交回复
热议问题