I am still fairly new to Teradata so forgive this but I have two columns one with the date and one with a 4 digit varchar as the time (24hour)
below is what I use to concatenate the fields to make it readable but I want to make the result come out as a valid timestamp so I can perform calculations.
cast(SCHEDULE_DATE as date format 'yyyy-mm-dd') || ' ' || substr(START_TIME,0,3) || ':' || substr(START_TIME,2,2)
This is an example of the results I get from the above query. 2017-01-25 13:30
when I run the query like this
cast(cast(SCHEDULE_DATE as date format 'yyyy-mm-dd') || ' ' || substr(START_TIME,0,3) || ':' || substr(START_TIME,2,2) as Timestamp ) as TESTVALUE
I get invalid TimeStamp