Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by phillup (4419) on 2005.04.14 13:54 (#39688) Homepage Journal
    I just scanned thru the documentation [sqlite.org] for column types.

    First, this looks like it may be affecting you.
    A column with NUMERIC affinity may contain values using all five storage classes. When text data is inserted into a NUMERIC column, an attempt is made to convert it to an integer or real number before it is stored.
    Then, a few more lines down...
    2.1 Determination Of Column Affinity
     
    ...
     
       4. Otherwise, the affinity is NUMERIC.
    So, I'm wondering if the column type is defaulting to numeric... and thus stripping the leading zero.