Forum Discussion
0tk
4 years agoRegular Visitor
Connectivity to Redshift via Azure AD authentication
Has anyone had success connecting Power BI via ODBC to Redshift using the Azure AD plugin. Tried various options but keep getting the error "DataSource.Error: ODBC: ERROR [42703] [Amazon][Amazon Reds...
v-yalanwu-msft
4 years agoCommunity Support
Hi, 0tk ,
if you really have a camel case in you column name then you must wrap the column name with double quote.
SELECT return_part_i.CntrctTrmntnInd FROM return_part_i LIMIT 10;
vs
SELECT "CntrctTrmntnInd" FROM return_part_i LIMIT 10;
PostgreSQL columns (object) name are case sensitive when specified with double quotes. Unquoted identifiers are automatically used as lowercase so the correct case sequence must be write with double quotes.
https://stackoverflow.com/questions/37418028/postgresql-error-column-does-not-exist-sql-state-42703
https://stackoverflow.com/questions/52007364/postgresql-column-doesnt-exist
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.