I would like to insert new email dresses via survey using ampscript in an existing data extension (TEST_LANDING) where all my contacts are already.
I tried with InsertDE
and updateData
function and it works but only insert email.
Here is my code :
set @newemail= updatedata("TEST_landing",1,"EMAIL", @email) ==> it inserts well an email adress
So I tried with some other data to add :
set @newemail= updatedata("TEST_landing",1,"EMAIL", @email,"COUNTRY_CODE",FR, "LANGUAGE_CODE",fr, "CREATION_DATE",SystemDateToLocalDate(NOW(),"CHANNEL_LEVEL_1",Acquisition)
And it doesn't work.
Moreover does anyone know what is the difference between insertdata, insertDE, updatedata, updateDE, upsertData functions ?