Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Double quotes around fields in SELECT statement

Marc CMar 12 2019 — edited Mar 12 2019

Recently I created a new application in APEX 18.2.

I notice that APEX adds double quotes to the fields in the SQL-query source for a form or report.

In addition, when working in the SQL Workshop/SQL commands, I need to add double quotes myself to selected fields.

So:

SELECT "id" FROM table_X does work

SELECT id FROM table_X will not work

In the latter case it will give me the error message: ORA-00904: "ID": invalid identifier

This is opposite to a previous application where the syntax is without the double quotes, which I consider as normal.

Why this difference and how can I get rid of the required quotes ?

This post has been answered by fac586 on Mar 12 2019
Jump to Answer
Comments
Post Details
Added on Mar 12 2019
3 comments
3,773 views