tags:

views:

124

answers:

3

Quick question playing with PL SQL it seems that the tables column was named as the data type NUMBER so trying to perform a query fails since the column is being recognized as a datatype instead of a column name. Anyone know how to get around this without modifying the schema?

EDIT:

Thanks everyone for the help yeah the issue was it had to be in quotes and was case sensitive.

A: 

Try wrapping a column name in single or double quotes.

Alex Khvatov
I think it has to be double quotes.
MJB
Yes, single quotes in SQL are for string literals, double quotes are for delimited identifiers.
Bill Karwin
+3  A: 

Try putting the column name in double quotes ("column_name")

Shepherdess
+5  A: 

Place it between double quotes and the case of each character must match the case of the corresponding character in the column name exactly.

Vadim K.
I marked this because the inclusion about case sensitivity.
Dale