Timestamp
Posted: Mon Aug 25, 2008 8:58 pm
Hi
I am checking an input coloumn(timestamp),If it is blank
(white spaces),which is not a null value.Then i have to set to 01/01/1800.
input(timestamp) and output stages(date) are DB2
I tried If (input coloumn) = " " then StringToDate('01/01/1800',"%MM/%DD/%YYYY").
Then it is giving an error "APT_CombinedOperatorController(0),0: Data string ' ' does not match format '%yyyy-%mm-%dd %hh:%nn:%ss': an integer was expected to match tag %yyyy."
Thanks
I am checking an input coloumn(timestamp),If it is blank
(white spaces),which is not a null value.Then i have to set to 01/01/1800.
input(timestamp) and output stages(date) are DB2
I tried If (input coloumn) = " " then StringToDate('01/01/1800',"%MM/%DD/%YYYY").
Then it is giving an error "APT_CombinedOperatorController(0),0: Data string ' ' does not match format '%yyyy-%mm-%dd %hh:%nn:%ss': an integer was expected to match tag %yyyy."
Thanks