Nested block comments in SQL not displayed correctly

gbritton 2016-09-14 20:09:10

In Plan Explorer, if I enter command text like:

/* foo
 
/*foobar*/
select 1 as one
 
*/

alt text

The select statement displays as if it is not in a comment (but it is)

Aaron Bertrand 2016-09-14 20:36:45
Thanks for reporting, I've passed this along.
Aaron Bertrand 2016-09-19 15:26:16
We've logged a bug on this one, but please note this is just a visual discrepancy. When you run the code, the select 1 as one doesn't actually execute (in other words, the outer comments are still obeyed).