Skip to content

Semicolon (';') after the SQL statement leads to an error ORA-00933 #174

Closed
@amochin

Description

@amochin

Reproducible at least with an Oracle database, when using the "Connect using custom params" keyword and the python oracledb module. See #173 for an example of connection details.

Running such a keyword:
Check If Exists In Database SELECT id FROM person WHERE first_name = 'Franz Allan';
leads to an error:
DatabaseError: ORA-00933: unexpected token at or near ;

Removing the semicolon after the statement makes the keyword work without any errors.
Check If Exists In Database SELECT id FROM person WHERE first_name = 'Franz Allan'

Even if it's somehow an expected error from the Oracle side (which I'm not sure about, need to check), I believe that the Database library should be tolerant enough to make such a simple command run properly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions