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(
|
Welcome Guest, Not a member yet? Register Sign In |