oracle - DBeaver simple query ORA-00911 invalid character -


i switching sqldeveloper dbeaver in work oracle 10g database, have oracle instantclient exact version of database.

i not make scripts, bunch of queries, select, update. had collection of them, each on 1 or few lines, semicolon @ end, followed 2 dashes , comment. multiple line statements visual separation separated lines of many dashes.

sqldeveloper treated such system well, ctrl+enter executed line (or group last comment or semicolon next semicolon), ignored comment after or before. copied whole collection 1 programs main window other (sql editor). usage results weird.

example in new sql editor tab (table names changed, ignore if got reserved words):

select * file_movement movement_status != 'moved' , last_update > sysdate -10 order last_update desc;--my comment, explanation select * activity activity_type = 'generator' , status = 'created' , started > sysdate -10 order started desc;--my other comment 

the first 1 executes expected ctrl+enter, line start flashes single triangle , execution log shows command until semicolon. when cursor placed @ second line followed ctrl+enter, triangles before both lines, after first lines semicolon until second lines end including both comments gets selected , ora-00911 pops up. selected text shows in execution log.

if put empty line between them, whole second line gets selected , logged , same error pops up.

what stop such behaviour , make second line execute same way first - without previous , next comment? there language or line end or comment settings in dbeaver have missed?

few last versions of dbeaver act acceptable. though previous lines comment comes in statement executed, acts expected. correct statement executed, log shows comment start of query, ignored. can live with.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -