I am trying to do math with timestamps (the type timestamp(2)) and it's driving me crazy.
For starters, what goes on here?
select systimestamp,systimestamp + 1 from dual;
21-NOV-13 01.38.22.145000 PM -06:00 11/22/2013 13:38:22
What did it do? systimestamp + 1 is the next day so I take it that it
interpretted 1 as one day but what happened to the sub seconds?
So is the result truncated to a date?
How do you do math with timestamps? it is definitely not acceptable to lose the subseconds.
Do people have to write their own functions to do timestamp math and none (non-lossy) are provided?