Alteryx Designer Desktop Discussions

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

Creating temporary table in Snowflake using Alteryx Output tool.

leannedayao
7 - Meteor

Hi, 

 

I'm trying to load data in a Snowflake temporary table. Is this approach correct?
I planning to use a Pre Create SQL statement to create the temporary table and choose Append Existing as output option.

USE DATABASE database_name;
USE SCHEMA schema_name;
CREATE OR REPLACE TEMPORARY TABLE temporary_table
(column_name VARCHAR);


temp_table.png

 

3 REPLIES 3
apathetichell
19 - Altair

I don't use output data with DBs all that often - but my memory is that you can do this on datastream in if you have your db (and maybe your schema) set up in the odbc 64 connection.

apathetichell
19 - Altair

I wouldn't define temporary table in my presql  - and I wouldn't append to a temporary table. I'd drop/overwrite. you can try doing what you are doing with your create statement ommitted and post here any error messages.

leannedayao
7 - Meteor

I decided to go for the Delete & Append option and no issues so far. Thanks!

Labels