>>> On Thu, Jan 31, 2008 at  9:34 AM, in message
<[EMAIL PROTECTED]>, "Roberts,
Jon" <[EMAIL PROTECTED]> wrote: 
> select to_char(date, 'yyyy-mm-dd hh24:mi:ss.ms') as char, 
>        date 
>   from (select timestamp'2008-01-30 15:06:21.560' as date) sub
> 
> "2008-01-30 15:06:21.560";"2008-01-30 15:06:21.56"
> 
> These two fields should be consistent because they should be formatted
> the same way.
 
Why would you think that?
 
I would expect the timestamp to be presented with one to nine
digits to the right of the decimal point, depending on the value.
 
I can think of a couple database products which only go to three
decimal positions, and always show three, but that's hardly a
standard.
 
-Kevin
 



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to