Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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