getting started with sqlite

12

Click here to load reader

Upload: mindfire-solutions

Post on 06-May-2015

980 views

Category:

Technology


2 download

DESCRIPTION

SQLite is a self contained, serverless, zeroconfiguration, transactional database engine.

TRANSCRIPT

Page 1: Getting Started with SQLite

Getting started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Page 2: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Agenda

- What is SQLite?- Who is using SQLite?- Where to use SQLite?- What makes SQLite different?- Understanding SQLite constraints.- Understanding SQLite Functions.- Live demo.

Page 3: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

What is SQLite?

- Created by D. Richard Hipp.- A self contained, serverless, zero-

configuration, transactional database engine.- Small footprint around 0.5 MB.- Entire database in a single file.- ACID transactions.- In public domain.

Page 4: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Who is using SQLite?

Page 5: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Where to use SQLite?- Stand alone applications.- Local database cache.- Session database.- Embedded devices.- Internal or temporary databases.- Application file format.- Don't use in client/server applications, high

volume websites, high concurrency requirements.

Page 6: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

What makes SQLite different?

- Zero-configuration and serverless.- Single file database.- Stable cross platform database files.- Manifest typing.- Variable length record.

Page 7: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Features not supported

- Right and full outer join.- Complete alter table support.- Complete trigger support.- Writing to views.- Grant and Revoke.

Page 8: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

SQLite Constraints

- Not null.- Unique.- Primary key.- Foreign key.- Check.- Default.

Page 9: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

SQLite Functions

- Core functions.- Aggregate functions.- Date & Time functions.

Page 10: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Time for a Live Demo.

- Install SQLite. http://www.sqlite.org/download.html

- Create SQLite database and tables.- Basic operations using SQLite.- Let's get a database manager.

http://sqlitestudio.pl/?act=download

Page 11: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Question and Answer

Page 12: Getting Started with SQLite

Presenter: Harsh Wardhan, Mindfire Solutions

Thank you