How do I escape a reserved word in Oracle?

后端 未结 5 1222
野的像风
野的像风 2020-11-22 15:49

In TSQL I could use something like Select [table] from tablename to select a column named \"table\".

How do I do this for reserved words in oracle?

5条回答
  •  感情败类
    2020-11-22 16:16

    double quotes worked in oracle when I had the keyword as one of the column name.

    eg:

    select t."size" from table t 
    

提交回复
热议问题