Oracle table column name with space

后端 未结 6 1285
北荒
北荒 2020-12-06 09:24

Is it possible to create a table with column name containing space? If so how can I create and use it?

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-06 09:57

    it is possible by naming the column between two " example: "My columN" , the column name becomes case sensitive which means.

    SELECT "my column" from table; --NOT OK
    SELECT "My columN" from table; --OK
    

提交回复
热议问题