Using Valentina Time type fields

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Tue May 15 01:22:17 CDT 2012


On 5/14/12 6:28 PM, "william humphrey" <bill at bluewatermaritime.com> wrote:

Hi William,

> I converted the SQLite database directly in the latest beta of vStudio. I
> remember I ended up having to do it in a two stage process as the direct
> conversion left behind some of the data so I used vStudio to make a dump on
> the SQLite file and then in the empty Valentina version I loaded the dump.  
> 
> You're right. I notice that the field type in my SQLite file was "numeric" but
> I see it is formatted as 07:00:00  but when that went through the conversion
> process it just came out "7" and Valentina decided that the "7" was 7/100th of
> a second instead of 7 hours.

I think KEY to problem is here.

Then I wonder, how SQLite will dump into text file, value as
     07:16:42  
?


======
Also I wonder, how SQLite knows that number 7
it should format into 07:00:00  ?
May be this do not Lite, but some code of your prev app ?

Or its vstudio shows ??  Then how it knows ?

 
> So can you help me by writing one of those complex SQL that makes a temporary
> field and copies everything and fixes the format to assume whole numbers are
> hours?
> 
> And do you think that future conversions should make this assumption?

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list