0

I have a postgress table called catcodes. When I do

select Catcode from catcodes;

It gives me an error like this

ERROR:  column "catcode" does not exist
LINE 1: select Catcode from catcodes;

when I describe the table there is a column Catcode.

Column | Type |

-------------+-------------------+

Catcode | character varying |

select * from catcodes

works though.

1 Answer 1

1

Postgres is case-sensitive, you should try using quotes

SELECT "Catcode" FROM catcodes;

sql - Postgres Case Sensitivity - Stack Overflow

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

3 Comments

Thanks, It works. But could you please tell me why is that.
I managed to found more explanations (here)
please can you have a look at this question stackoverflow.com/q/51758821/6633337

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.