Results 1 to 4 of 4

Thread: What is SQLite ?

  1. #1
    Join Date
    May 2008
    Posts
    143

    What is SQLite ?

    This is an extension for the SQLite Embeddable SQL Database Engine. SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process.

    The program uses SQLite's functionality through simple function calls, which reduces latency in database access as function calls within a single process are more efficient than inter-process communication.

    The amount of web traffic that SQLite can handle depends, of course, on how heavily the website uses its database. Generally speaking, any site that gets fewer than 100K hits/day should work fine with SQLite.

  2. #2
    Join Date
    Oct 2008
    Posts
    54

    Re: What is SQLite ?

    SQLite implements most of the SQL-92 standard for SQL. For example it has partial support for triggers and supports most complex queries, but it silently ignores referential integrity constraints (foreign key constraints) unless one uses the .genfkey command of the sqlite3 shell tool to compile them into triggers. SQLite uses an unusual type system for an SQL-compatible DBMS. Instead of assigning a type to a column as in most SQL database systems, types are assigned to individual values; in language terms it is dynamically typed. Moreover, it is weakly typed in some of the same ways that Perl is: one can insert a string into an integer column (although SQLite will try to convert the string to an integer first, if the column's preferred type is integer).

  3. #3
    Join Date
    Nov 2008
    Posts
    70

    Re: What is SQLite ?

    The SQLite extension is enabled by default as of PHP 5. Before that time the SQLite library is needed.
    SQLite Methods :

    query - Execute a query

    sqlite_query -- SQLiteDatabase->query — Executes a query against a given database and returns a result handle.

    resource sqlite_query ( resource $dbhandle , string $query [, int $result_type [, string &$error_msg ]] )
    resource sqlite_query ( string $query , resource $dbhandle [, int $result_type [, string &$error_msg ]] )
    sqlite_query() returns a buffered, seekable result handle. This is useful for reasonably small queries where you need to be able to randomly access the rows. Buffered result handles will allocate memory to hold the entire result and will not return until it has been fetched. If you only need sequential access to the data, it is recommended that you use the much higher performance sqlite_unbuffered_query() instead.

    SQLiteDatabase

    SQLiteResult query ( string $query [, int $result_type [, string &$error_msg ]] )
    Executes an SQL statement given by the query against a given database handle.

  4. #4
    Join Date
    Dec 2008
    Posts
    67

    Re: What is SQLite ?

    It can be very handy to use a database like storage when you have no access to a database service. SQLite uses in iphone for call history, contacts, SMS and other data.

Similar Threads

  1. Need to know more about places.sqlite file in Firefox.
    By abaigeal in forum Technology & Internet
    Replies: 3
    Last Post: 18-04-2011, 07:51 PM
  2. Use Of SQLite In Blackberry Playbook
    By Pony in forum Portable Devices
    Replies: 4
    Last Post: 22-02-2011, 02:28 PM
  3. Unexpected SQLite SQLITE_SCHEMA error
    By Broot in forum Software Development
    Replies: 4
    Last Post: 25-02-2010, 10:25 PM
  4. How to list all table containing SQlite database
    By Neil'o in forum Software Development
    Replies: 4
    Last Post: 24-02-2010, 11:00 PM
  5. SQLite on Mac OS X
    By Berth in forum Windows Software
    Replies: 3
    Last Post: 24-09-2009, 08:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,573,487.46135 seconds with 16 queries