I have the table as in the attached screenshot and I want to concatenate the logdate
and logtime
integer columns and convert them into datetime
logdate | logtime
20200501 | 90205
20200502 | 100215
20200503 | 110105
like '2020-05-01 09:02:05'
for the first example.
Build up a valid date string, then
convert()
it: