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.

0

3 Answers 3

5

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

Sign up to request clarification or add additional context in comments.

Comments

3

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

Comments

-1

Try wrapping a column name in single or double quotes.

2 Comments

I think it has to be double quotes.
Yes, single quotes in SQL are for string literals, double quotes are for delimited identifiers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.