Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is the difference between formatDate and parseDate?
I am still asking, is timestamp and date are the same thing ?
The class Date represents a specific instant in time, with millisecond precision.
if your row1 is nullable you can write this :
(row1.value1==null)?null:TalendDate.parseDate("dd/MM/yyyy", row1.value1)
with this formula if value1 is null the expression will return null else it will use the TalendDate.parseDate method
please notice that this formula is usefull if you don't want to have nullPointerException using a method
cheer
Hello ,
I have an issue with MSSQL.
I have a field in a MSSQL table of TIMESTAMP datatype. I didn?t find a corresponding type in Talend
So I used the ?date? type. Unfortunately, it doesn?t load the data in MSSQL table and I have the following error message:
Disallowed implicit conversion from data type datetime to data type timestamp,
table 'IT_Test.Invoice', column 'TS'.
Use the CONVERT function to run this query.
The ?date? type in Talend seems not to be compatible with ?timestamp? in MSSQL server.
Do you have any ideea what to do ?
Thank you very much !
Gabi