We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Large Table Copy & Rename

dlash
6 - Meteoroid

I am looking to make a copy of a very large table from SQL Teradata (80 columns millions of rows) and append 'YYQ#' (for example _23Q2) to the table name monthly for historical backups.

 

I have a workflow that does this using Teradata bulk but it is taking about 10 minutes and I have 8 tables. I am hoping there is a faster way.

 

Input -> Formula to create the date as a column -> Output using that column to append. I can quickly make a copy of the table using PreSQL and the output tool is great at appending to the table name, but I don't know how to put the two together because of the calculation that is needed.

 

I thought I could create the copy with the appended date with 1 row and then insert using another input tool, but I run into the same issue that the appended date will be different each quarter.

 

Thank you

11 REPLIES 11
dlash
6 - Meteoroid

This worked perfectly, took 6 seconds! Just needed to add a formula to the workflow.

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@dlash that's awesome!

 

All the best,

BS

All the best,
BS

LinkedIN

Bulien
Labels
Top Solution Authors