What is difference between SQLite and SQL

83,693

Solution 1

Every SQL database uses its own implementation of the language that varies slightly. While basic queries are almost universal, there are notable nuances between MySQL, PostgreSQL, Microsoft SQL Server, Oracle Database, etc.

What's particularly notable about SQLite is that unlike all the others mentioned above, this database software doesn't come with a daemon that queries are passed through. This means that if multiple processes are using the database at once, they will be directly altering the data through the SQLite library and making the read / write data calls to the OS themselves. It also means that the locking mechanisms don't deal with contention very well.

This isn't a problem for most applications that where one would think of using SQLite -- the small overhead benefits and easy data retrieval are worth it. However, if you'll be accessing your database with more than one process or don't consider mapping all your requests through one thread, it could be slightly troublesome.

Solution 2

Sqlite is very light version of SQL supporting many features of SQL. Basically is been developed for small devices like mobile phones, tablets etc.

SQLite is a third party ,open-sourced and in-process database engine. SQL Server Compact is from Microsoft, and is a stripped-down version of SQL Server.They are two competing database engines.

SQL is query language. Sqlite is embeddable relational database management system.

Edit : ( Source from following comment on my answer )

Sqlite also doesn't require a special database server or anything. It's just a direct filesystem engine that uses SQL syntax. ( By : Adam Plocher )

Techinically, SQLite is not open-source software but rather public domain. There is no license. ( By : Larry Lustig )

Solution 3

SQL is query language. Sqlite is embeddable relational database management system.

Unlike other databases (like SQL Server and MySQL) SQLite does not support stored procedures.

SQLite is file-based, unlike other databases, like SQL Server and MySQL which are server-based.

Share:
83,693
Deep Verma
Author by

Deep Verma

I am a Android Developer in Talentica Software Private Ltd Graduated in Computer Science from National Institue of Technology Tiruchirappalli T.N

Updated on April 13, 2021

Comments

  • Deep Verma
    Deep Verma about 3 years

    I know SQLite Data Base is used in mobile devices (Android, iPhone) and it is light, takes only Kb space. Is there any limitation in SQLite? I want to know how they are different.

  • Adam Plocher
    Adam Plocher over 11 years
    Sqlite also doesn't require a special database server or anything. It's just a direct filesystem engine that uses SQL syntax.
  • Larry Lustig
    Larry Lustig over 11 years
    Techinically, SQLite is not open-source software but rather public domain. There is no license.
  • Navin Israni
    Navin Israni over 7 years
    SQLite can't compete with SQL Server, both are meant for different purposes and hence their comparison is invalid.
  • Jeremy Parker
    Jeremy Parker about 5 years
    SQLite is not DBMS
  • carloswm85
    carloswm85 over 2 years
    Wikipedia informs, "SQLite is a relational database management system contained in a C library. In contrast to many other database management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end program. SQLite generally follows PostgreSQL syntax."