Re: stopping numification

[prev] [thread] [next] [Date index for 2005/05/24]

From: Gordon Haverland
Subject: Re: stopping numification
Date: 22:43 on 24 May 2005
On Tuesday 24 May 2005 11:06, Simon Wistow wrote:
> On Tue, May 24, 2005 at 10:55:07AM -0600, Gordon Haverland said:
> > So, what differentiates a string of '1' from an integer of
> > '1' from a float of '1.0'?
>
> I'm not entirely sure what you're getting at but the thing that
> differentiates them is that, err, they're different. Or at
> least, a string of '1.0' is different from a string of '1'.
>
> If anything, everything but the primary autoincrement key
> should be stored as a string then.

As I read the SQLite documentation, you could declare a column to 
be integer and store "1.9935678" in it, or another column could 
be declared char(1) and have a 4 byte integer stored in it.  Perl 
treats a string of '1', an integer 1 and a float of 1.0 
differently, but SQLite may not.

Gord

(message missing)

stopping numification
Simon Wistow 15:46 on 24 May 2005

Re: stopping numification
Matt S Trout 16:01 on 24 May 2005

Re: stopping numification
Simon Wistow 16:31 on 24 May 2005

Re: stopping numification
Christopher Laco 17:13 on 24 May 2005

Re: stopping numification
Simon Wistow 10:47 on 25 May 2005

Re: stopping numification
William Ross 11:46 on 25 May 2005

Re: stopping numification
Simon Wistow 11:59 on 25 May 2005

Re: stopping numification
Dan Sully 14:09 on 25 May 2005

Re: stopping numification
Gordon Haverland 16:55 on 24 May 2005

Re: stopping numification
Simon Wistow 17:06 on 24 May 2005

Re: stopping numification
Gordon Haverland 22:43 on 24 May 2005

Re: stopping numification
Tony Bowden 11:57 on 25 May 2005

Generated at 20:11 on 05 Jun 2005 by mariachi v0.52