Bug: semicolon gets interpreted despite block comment in sql window

Bernhard S

Member³
I noticed the following bug. The first sql results in the error noted, obviously due to wrongly interpreting the semicolon as a sql terminator, despite it being enclosed in a block comment:

Code:
select 1
  from dual
 where 1 in
/*
;  --=>ORA-01742: comment not terminated properly
*/
 (1);

If you put the same block comment in one line, the error is avoided:

Code:
select 1
  from dual
 where 1 in
/* ; */  --works fine
 (1);

In a PSD command window both queries work fine.
 
Back
Top