Hi all
I have an Output tool to a Teradata DB and I want to use the Update: Insert if new feature.
Unfortunately the DB Admin of Teradata has created all my tables with a PRIMARY INDEX and not with a PRIMARY KEY. Therefore the Update: Insert if new will not work.
As I check the SQL statement sent by Alteryx I see:
SELECT INDEXTYPE,COLUMNNAME,COLUMNPOSITION, INDEXNAME
FROM DBC.INDICESV
WHERE INDEXTYPE = 'K'
AND DATABASENAME = 'B2B_xxxxxxx'
AND TABLENAME = 'T_VIZDA_xxxxx'
Is there a way to change the statement
WHERE INDEXTYPE = 'K' to
WHERE INDEXTYPE = 'P'
somewhere in the Output tool ?
Can I use i.e. the Pre Create SQL statement ?
Many thanks for your support
Steffen