Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Primary Key for Teradata Table Build Output

dzwheat1
5 - Atom

Trying to use Teradata SQL to build a table build that is scheduled monthly. Getting high skew factor rates since there is not an option to add primary key when building the table. Any idea on a simple way to create a primary key in a Teradata table through Alteryx? Saw someone use Alter Table in the Post-SQL option of the output data tool, but this was not working for my case

4 REPLIES 4
patrick_mcauliffe
14 - Magnetar
14 - Magnetar

I built this quite a while ago, but it should all still be valid.  Let me know if you run into any issues:

https://gallery.alteryx.com/#!app/TeradataOutput/5f00cb428a933718f4b79e70

 

AndrewSu
Alteryx Alumni (Retired)

@patrick_mcauliffe , is the link in your most recent reply the most up to date version of the macro? :)

patrick_mcauliffe
14 - Magnetar
14 - Magnetar

@AndrewSu I have a more up to date one that's a little on the experimental side if you're interested.

AndrewSu
Alteryx Alumni (Retired)

@patrick_mcauliffe , if it's functional I'm interested! thanks.

Labels