Free Trial

Alteryx Designer Desktop Discussions

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

Handle new field in output data

Anastasio_Theohari
8 - Asteroid

Hello,

 

I would like to write in sql server table the data the source give...

Anastasio_Theohari_0-1606726582196.png

 

When i use delete data and append as output option when a new field add in the source in the future,how can i handle and add automatically a new field in the destination table..

I don't want to use drop and re create as a workaround..

 

4 REPLIES 4
mbarone
16 - Nebula
16 - Nebula

For SQL Server, deleting and appending means deleting and appending "the data only", not fields.  So what you want to do cannot be accomplished with that option, unfortunately.  

Anastasio_Theohari
8 - Asteroid

i know this but i want a simple solution except this to drop a table...Do you think there is any solution?thank you

mbarone
16 - Nebula
16 - Nebula

You might be able to "Alter" the table using a pre-SQL statement, but I'm not familiar with that.  There may be some community posts on it. 

grazitti_sapna
17 - Castor

Hi @Anastasio_Theohari,

 

I am not sure if what you are trying to achieve would be possible without dropping the table. Even if you do incremental load in this scenario, the table structure should remain the same. A new column can be added either using the drop and create or using the alter table statement. If you use alter table and create a column then you will have to find a way to add values to this column.

 

 

Sapna Gupta
Labels
Top Solution Authors