• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Fill column on insert but not update (tmap)

#1 2009-12-18 09:57:32

r.hills
Member
Registered: 2009-12-16
Posts: 49

[resolved] Fill column on insert but not update (tmap)

Tags: [insert, update]

I am using tMap in order to update/insert records inside a mysql database from a csv file.

Currently I have a column in my database which records the record creation date.
Quite simply, on an insert I wish to fill this column, however on an update I dont want to touch it.

Can this be done? And if so how would I do this.

Thank you in advance.

Offline

#2 2009-12-21 08:47:09

r.hills
Member
Registered: 2009-12-16
Posts: 49

Re: [resolved] Fill column on insert but not update (tmap)

Bumping this, surely its possible?

I have a single flow within which I will update or insert.
on update I want to not touch the column "creation_date"
on insert I want to fill the column "creation_date"

How would I go about doing this ?

Thank you.

Offline

#3 2009-12-21 10:23:52

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: [resolved] Fill column on insert but not update (tmap)

Hello
In the advanced setting of tMysqloutput, you can choose columns which are updateable or not.

Best regards

          shong


Uploaded Images


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#4 2009-12-21 10:28:37

r.hills
Member
Registered: 2009-12-16
Posts: 49

Re: [resolved] Fill column on insert but not update (tmap)

wonderful, thank you again shong.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Fill column on insert but not update (tmap)

Board footer

Powered by FluxBB