Various objects (including tables, columns, and indexes) in Oracle databases are case-insensitive by default. All objects in the data dictionary are in uppercase. Assume that when you create a table (including an external table ),
Various objects (including tables, columns, and indexes) in Oracle databases are case-insensitive by default. All objects in the data dictionary are in uppercase. Assume that when you create a table (including an external table ),
Various objects (including tables, columns, and indexes) in Oracle databases are case-insensitive by default, and all objects in the data dictionary are in uppercase. If you enclose the column name or table name in double quotation marks when creating a table (including external tables), these are case-sensitive database objects. At this time, select needs to strictly follow the case when the table is created to succeed, otherwise return ORA-000904 or ORA-00942 error.
Some software can help users automatically generate the Create table statement. In this case, double quotation marks must be removed. Otherwise, the preceding error occurs.
Create table "t" ("a" int );
Table "t" created.
Select A from T;
ORA-00942: table or view does not exist
00942. 00000-"table or view does not exist"
* Cause:
* Action:
Error at Line: 16 Column: 15
Select A from "t ";
ORA-00904: "A": invalid identifier
00904. 00000-"% s: invalid identifier"
* Cause:
* Action:
Error at Line: 16 Column: 8
Related reading:
SPFILE error causing database startup failure (ORA-01565)
ORA-01172, ORA-01151 error handling
ORA-00600 [2662] troubleshooting
Troubleshooting for ORA-01078 and LRM-00109