[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Where does the "nothing left but toolkits" myth come f


Re:  Re: Where does the "nothing left but toolkits" myth come f
On Wednesday 16 February 2005 03:20 am, Rick Marshall wrote:
> not all databases are backward enough to store dates and numbers in
> binary format

Sorry to put you on the spot rick, but which ones don't? 

I thought most modern databases use a floating point to store datetimes with 
the non-decimal part denoting the day and decimal part denoting the time.

> and you don't necessarily save space in binary formats either - been
> there before too.

A few bytes possibly, not enough to make it worthwhile.

In fact I would assert that a text format:

 Soccer_kickoff@=2005-02-28 T 11:30 AM -10:00

is pretty compact and succinct.

28 bytes of date/time text compared to 8 bytes in a binary format but with
no readability. I don't think that is too bad.

but times are not as often transmitted as dates.

 balance_payable@=2005-03-15

In most business data transfer systems, I think dates get transferred a lot
more than times. But obviously, having a field type that does both is a 
fairly trivial thing.

David

-- 
Computergrid : The ones with the most connections win.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.