Nested block comments in SQL not displayed correctly

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)

avatar image By gbritton 93 asked Sep 14, 2016 at 08:09 PM
more ▼
(comments are locked)
avatar image Aaron Bertrand ♦ Sep 14, 2016 at 08:36 PM

Thanks for reporting, I've passed this along.

avatar image Aaron Bertrand ♦ Sep 19, 2016 at 03:26 PM

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).

10|10000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 50 attachments (including images) can be used with a maximum of 209.7 MB each and 209.7 MB total.

Follow this question

Topics:

x631
x445
x39
x1

asked: Sep 14, 2016 at 08:09 PM

Seen: 115 times

Last Updated: Sep 19, 2016 at 03:26 PM