0% found this document useful (0 votes)
38 views

DBMSL Assignment 3 SQLite Database Installation

To download SQLite tools, visit the SQLite website and download the appropriate version for your platform such as the command-line shell for Windows. This downloads as a small ZIP file. Installation is simple - extract the ZIP to a new folder and then open the command line, navigate to the folder, and run sqlite3 to access the SQLite prompt. Common commands like .help show available SQLite commands. When finished, use .quit to exit. An alternative is to use a free and intuitive GUI tool like SQLiteStudio which allows importing, exporting, and managing SQLite databases through a graphical interface.

Uploaded by

Omkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

DBMSL Assignment 3 SQLite Database Installation

To download SQLite tools, visit the SQLite website and download the appropriate version for your platform such as the command-line shell for Windows. This downloads as a small ZIP file. Installation is simple - extract the ZIP to a new folder and then open the command line, navigate to the folder, and run sqlite3 to access the SQLite prompt. Common commands like .help show available SQLite commands. When finished, use .quit to exit. An alternative is to use a free and intuitive GUI tool like SQLiteStudio which allows importing, exporting, and managing SQLite databases through a graphical interface.

Uploaded by

Omkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Download SQLite tools

To download SQLite, you open the download page of the SQlite official website.

1. First, go to the https://www.sqlite.org website.
2. Second, open the download page https://www.sqlite.org/download.html

SQLite provides various tools for working across platforms e.g., Windows, Linux,
and Mac. You need to select an appropriate version to download.

For example, to work with SQLite on Windows, you download the command-line
shell program as shown in the screenshot below.

The downloaded file is in the ZIP format and its size is quite small.

Run SQLite tools


Installing SQLite is simple and straightforward.

1. First, create a new folder e.g., C:\sqlite.


2. Second, extract the content of the file that you downloaded in the
previous section to the C:\sqlite folder. You should see three programs
in the C:\sqlite folder as shown below:

First, open the command line window:


and navigate to the C:\sqlite folder.

C:\cd c:\sqlite
C:\sqlite>

Second, type sqlite3 and press enter, you should see the following output:
C:\sqlite>sqlite3
SQLite version 3.29.0 2019-07-10 17:32:03

Enter ".help" for usage hints.


Connected to a transient in-memory database.

Use ".open FILENAME" to reopen on a persistent database.


sqlite>

Third, you can type the .help command from the sqlite> prompt to see all
available commands in sqlite3.
sqlite> .help
.archive ... Manage SQL archives: ".archive --help"
for details
.auth ON|OFF Show authorizer callbacks
.backup ?DB? FILE Backup DB (default "main") to FILE
.bail on|off Stop after hitting an error. Default
OFF
.binary on|off Turn binary output on or off. Default
OFF
.cd DIRECTORY Change the working directory to
DIRECTORY
...
Fourth, to quit the sqlite>, you use  .quit command as follows:
sqlite> .quit

c:\sqlite>

Install SQLite GUI tool


The sqlite3 shell is excellent…

However, sometimes, you may want to work with the SQLite databases using an
intuitive GUI tool.

There are many GUI tools for managing SQLite databases available ranging from
freeware to commercial licenses.

SQLiteStudio
The SQLiteStudio tool is a free GUI tool for managing SQLite databases. It is free,
portable, intuitive, and cross-platform. SQLite tool also provides some of the most
important features to work with SQLite databases such as importing, exporting
data in various formats including CSV, XML, and JSON.

You can download the SQLiteStudio installer or its portable version by visiting
the download page.  Then, you can extract (or install) the download file to a folder
e.g., C:\sqlite\gui\ and launch it.

The following picture illustrates how to launch the SQLiteStudio:

You might also like