Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

reg: insert/update error convert string [2015/02/26 40:00:00.000] to a date

$
0
0
Hi All,

I have requirement to update string value 40:00:00 to database table which has timestamp column EmployeeScheduleHoursPerWeek and ended up with error

HoursPerWeek String : couldn't convert string [2015/02/26 40:00:00.000] to a date using format [yyyy/MM/dd HH:mm:ss.SSS] on offset location 23


and below update query works fine in mysql workbench/kettle sql editor

update employee set EmployeeScheduleHoursPerWeek= '40:00:00' where employeeid = '140146'
(and I cannot cannot change column type in database because of business logic used in applications)

Is there any way to avoid this error and perform update...
Any help.. or sugessions will be appreciated...

t_load_employees_dummy.ktr
Attached Files

Viewing all articles
Browse latest Browse all 16689

Trending Articles