Is there a way to reverse SQL comment in one step?

DHC

Member
Usually we want to uncomment one block of code while comment the other block next to it. Is there a way (reverse-comment) to operate both in one step instead of two? Thanks!
i.e.
SELECT * FROM dual WHERE /*a = b*/ c = d
=>
SELECT * FROM dual WHERE a = b /*c = d*/
 
I do it like this:

SELECT * FROM dual WHERE /*a = b /*/ c = d/**/
and
SELECT * FROM dual WHERE /**/a = b /*/ c = d/**/
 
Thanks but I couldn't see how it works.
I wonder if there is one step action like "click Selecttion Comment" and
... /*a = b*/ c = d
change into:
... a = b /*c = d*/
 
Back
Top