Dealing with typelessness in SQLite |
[eluser]Xeoncross[/eluser]
I have been reading about SQLite 2 Data Types and SQLite 3 Data Types I discovered that in SQLite 2 there are only 2 types: Quote:INTEGER (Primary key) In SQLite 3 there are a few more: Quote:NULL. The value is a NULL value. But even with these new types in SQLite 3 - you can store anything in any column (except id). So my question is - why even define the column type in "CREATE TABLE table" queries when it really doesn't seem to matter? Basically is there anything wrong with this code? Code: CREATE TABLE posts( |
Messages In This Thread |
Dealing with typelessness in SQLite - by El Forum - 09-05-2008, 03:12 PM
Dealing with typelessness in SQLite - by El Forum - 09-10-2008, 10:48 AM
|