I need to create a SQL script to convert a integer field to varchar. My database is a Progress DB. This integer field (nrHoraRegistro) has a timestamp converted in integer.
Is there a way to write a query to convert it in Progress SQL ?
Kind Regards, Juliano
Based on an answer I have given before:
select
to_char(
timestampadd(
sql_tsi_second,
nrHoraRegistro,
curdate()
),
'hh24:mi:ss'
)
from
pub.testtable