I need to test sql queries on Oracle SQL Developer. These queries contain timestamp literals in the format
{ts 'yyyy-mm-dd hh:mm:ss.fff'}
Oracle SQL Developer does not seem to accept this syntax, the symbol {
causes error ORA-00911: invalid character.
Is there anything I can do?
EDIT
The sql editor advises me that {
is not allowed.
I tried with two other tools (DbVisualizer and DBeaver), both using the Oracle Thin driver, all works fine.
However I still want to use that syntax in Oracle SQL Developer because it has interesting features. The queries I have to test are not written by me, change syntax is not an option.
{ts 'yyyy-mm-dd hh:mm:ss.fff'}
. There is nothing you can do in SQL Developer. And Oracle doesn't care and claims it isn't a bug: community.oracle.com/message/14068970#14068970 – Rabbinical