cancel
Showing results for 
Search instead for 
Did you mean: 

How to get generated key column value in table comparison transform?

rajan_burad
Active Participant
0 Kudos
122

Hello,

I have created a new column in query transform and mapped it to NULL.

Then I connected the query transform with table comparison transform. After importing the table name, I found that newly created column was not getting displayed in Generated_key_column dropdown.

Here E_ID is the surrogate key which I added in query transform.

Please help.

Thanks,

Rajan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rajan.

In the Table comparison, the settings are against column that exist in the table selected for comaparison. Not from them Input schema.

Therefore, to help you further, please add the column to the metadata first ( by reimporting after a structural change in the database where you have that table) and then you will be able to select it

Regards,

bogdan

former_member208402
Active Contributor
0 Kudos

Hi Bogdan,

That generated key column must be present in the target. Not in the source.

Former Member
0 Kudos

Hi Ravi,

The metadata of the target table i was referring to

Regards,

Bogdan

former_member208402
Active Contributor
0 Kudos

Hi Bogdan,

I'm sorry.. my that reply was to the person who started this thread. I have replied to your comment by mistake. Sorry