Oracle Database

Delimiting keywords or special characters

Delimit the table or column name with special characters

Select * from firm’s_address;

Select * from “firm’s_address”;

Delimiting table or column name which is a reserved word as well

Say you have a table named table or you want to create a table with name which is also a keyword, You have to include the name table in pair of double quotes “table”

Select * from table; Above query will fail with syntax error, where as below query will run fine.

Select * from “table”;


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow