Creation/Dev/Gscript/Using SQLite

From Graal Bible
Revision as of 18:24, 5 December 2009 by Cbk1994 (talk | contribs) ((sorry for the spam; computer keeps BSoDing, saving every so often to be safe))

Preamble

Target Audience

This guide will not teach you how to script. It is directed toward already-competent scripters who wish to incorporate SQLite into their scripts.

Required Skills and Knowledge

  • Basic understanding of GS2
  • Basic understanding of storing data in traditional ways (flatfile)
  • Basic understanding of the way tables work (for example, Microsoft Excel)

Introduction

What is SQLite?

SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.

In English, it is a script that stores data into tables, the way any SQL language works (e.g. MySQL).

Why use SQLite?

There are advantages and disadvantages to using SQLite for storing data. Like any data storage method, there are times where it is practical to use it, and times when it isn't so practical.