Cursor sql error on postgres FDA table | Community
Skip to main content
Level 2
May 8, 2024
Question

Cursor sql error on postgres FDA table

  • May 8, 2024
  • 1 reply
  • 583 views

I'm connecting to a postgres database on AWS via FDA but getting errors on the primary key.

The table is called transactions and has an attribute called betId as a unique primary key field.

When I access the data in the table (via schema data view) I either get an error that primary key needs to be defined or when I define betId as primary key a sql error for cursor:
ERROR: column a0.betid does not exist.

'SELECT A0.betId FROM adobe.transactions A0 LIMIT 200' could not be executed.

 

Schema definition:
<key internal="true" name="pid" noDbIndex="true">
  <keyfield xpath="@id"/>
</key>
<attribute advanced="false" label="betId" name="id" length="16" sqlname="betId" type="string"/>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

OscarGo
Level 3
June 25, 2024

Hi @plundmark 

Adobe Campaign is case sensitive, so it seems "A0.betId" is not same for Adobe as "a0.betId".

Maybe you can check your database configuration to solve it.