How to query a PostgreSQL table with upper case letter or column with upper case letter

Avatar

Avatar

yueminspb

Avatar

yueminspb

yueminspb

16-11-2020

Hi Team,

We encounter a external data base issues. The external data base table name with some upper case letters and also the column name. It seems that the DataLoading activity of workflow can not read these table. Just wonder if there is a workaround to solve this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

DavidKangni

MVP

Avatar

DavidKangni

MVP

DavidKangni
MVP

17-11-2020

hi,

 

It's a known issue on PostgreSQL. You should change you column names to lowercase.

Alternatively, you can create a view with columns to lowercase letter but it's not the best solution compared to changing the column names itself in the table, as views will have performance impacts.

 

Thanks,

David  

Answers (0)