Of course this is failing, it's a totally different format.
In each new post there's a different scenario.
What do you expect?
Teradata automagically casting any kind of timestamp string?
Me reading your mind?
Sorry, but my crystal ball is out of order today.
This is my last try:
CAST(SUBSTRING(x FROM POSITION (' ' IN x) + 1 FOR 8) || SUBSTRING(c FROM CHAR_LENGTH(x)-1) AS TIME(0) FORMAT 'hh:mi:sst')
Dieter
↧