How can i use runtime column value ? I have tried following and faced error. Here for logging_time = sDate is giving error. I want to use the runtime sDate value for the query for a subquery later. Please help.
Select logging_time as sDate,DBINFO('utc_to_datetime', logging_time) as sDateTime
Where logging_time = sDate