Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Perl Typeless Database

by davidrw (Prior)
on Jul 02, 2005 at 13:41 UTC ( [id://471919]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Typeless Database
in thread Perl Typeless Autovivifying Database

That link is for version 2. From the FAQ:
  • datatypes in SQLite version 2.8
    SQLite is "typeless".
  • version 3.0
    Version 2 of SQLite stores all column values as ASCII text. Version 3 enhances this by providing the ability to store integer and real numbers in a more compact format and the capability to store BLOB data.

Replies are listed 'Best First'.
Re^3: Perl Typeless Database
by adrianh (Chancellor) on Jul 02, 2005 at 15:55 UTC
    Version 2 of SQLite stores all column values as ASCII text. Version 3 enhances this by providing the ability to store integer and real numbers in a more compact format and the capability to store BLOB data.

    Yes but, unless you enable the strict affinity mode, any column (apart from integer primary keys) can be used to store any type - just like V2. So unless you want typing-by-column you don't have to have it.

    It's just like Perl and has value-based typing rather than container based typing (unless you ask for it), V3 just has more effective representations at the back end.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://471919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found