'Avoid formatting comments
Is there anyway to avoid formatting the comments?
To reproduce, paste below example SQL code to BQ:
--important comment on table info
select * from mytable1;
/* some more
multiline
important comment
on table info:*/
select * from mytable2;
It will look like this:
Now, click on "MORE", then "Format query"
Some words in comments get capitalised, like "table", "on" and become part of SQL code:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|