I am getting lost and nuts with the DATETIME in Informix.I have two problems which I can hardly solve:
So, can anybody help me as to how to convert within a SQL-statement the different result-types?
CAST it to INT, example:
select
((current + 5 units day - current)::interval second(9) to second)
,((current + 5 units day - current)::interval second(9) to second)::char(10)::int8
from systables
where tabid=1