Hi Experts,
Need help here. In Oracle when we do timestamp difference. The resultset would be days and with some decimal numbers. For Eg.
SELECT '03.12.2004:10:34:24' "Now",
TO_CHAR(hiredate,'DD.MM.YYYY:HH24:MI:SS') "Hiredate",
TO_DATE('03.12.2004:10:34:24','DD.MM.YYYY:HH24:MI:SS')
- hiredate "Hired since [Days]"
FROM emp;
Now Hiredate Hired since [Days]
------------------- ------------------- ------------------
03.12.2004:10:34:24 17.12.1980:00:00:00 8752.44056
In the above example, we get 8752.44056 as answer. In that, '8752' is no. of days and want to know what is '44056' the precision values,
I want to do the same difference in teradata, I am able to get the no. of days but do not know how to get the precision values. I need the same format in teradata. Please help me in this. Thanks in advance.
Regards, TDHelp