So I'm looking over the sqlite documentation and I'm thinking that it might be easier to just roll my own solution with fopen, fprintf, etc. What can I practically gain from using a database solution like sqlite?
Well, how else could you store data if not in a database? Your program variables don't persist after you restart the program (or your computer, for that matter).
Databases are for information exchange between more than one client. You only need a database if your program isn't fully contained and used locally. Otherwise, that's what the hard drive is for.
I'd love sqlite if it supported stored procedures.
Name:
Anonymous2010-01-11 9:32
>>12
1) Describe a use case where stored procedures could be useful in a local-only database.
2) Propose a lightweight and fast (close to zero-overhead) implementation of stored procedures.
Name:
Anonymous2010-01-11 9:39
I'd love sqlite if it supported database custerware replication, automatic spatial reporting, in-memory transactional partitioning, XML queue multiprocessing, and sandboxed relational cache.