In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Writing an Excel to a temporary table in Teradata SQL with a primary key

alexisaharrison
7 - Meteor

I have four excel files with 75,000 records each in them with the same data and unioned together. I want to create a temporary table from it in Teradata, but since the load it too larger, I need to create the table with a Primary Key using one of the fields that is in the excel data.

 

What is the correct syntax to code in the Pre-Create SQL Statement or Post Create SQL Statement for the Output Tool to achieve this?

1 REPLY 1
Zok
8 - Asteroid

Hello

 

Post create is the best way (the other way is to build a monstruosity that allows you to chose the primary key and create a script to create the table with the right primary key)

 

You find a famous topic here 

 

Labels
Top Solution Authors