If in the SELECT query we use the RowNum pseudo- RowNum function without an alias and immediately write -- какой-то комментарий after it, then the result will be a column under the implicitly generated alias = ("RowNum--" + comment text), removing the spaces and bringing the characters to the top register.
Example illustration:
SELECT * FROM( SELECT DUMMY, ROWNUM --12 some 34 thing FROM DUAL ) TestTable WHERE TestTable."ROWNUM" > 0 --ОШИБКА working variant of accessing the column by pseudonym:
--WHERE TestTable."ROWNUM--12some34thing" > 0 --всё ещё ОШИБКА WHERE TestTable."ROWNUM--12SOME34THING" > 0 --корректно только в верхнем регистре! Similarly, for /*...*/ multi-line comment.
This is not a problem (at least mine), it’s just interesting :) but it may cost someone nerves, for some reason it’s not google.