Slides 4 Sqlite 2020 10 16 PDF
Slides 4 Sqlite 2020 10 16 PDF
CHAPTER 4
Experiment: Embedded Database with SQLite
Wolfgang Dorner
Database Engineering
Lecture Notes
Version: Oct 16th 2021
REAL The value is a floating point value, stored as an 8-byte IEEE floating
point number.
TEXT The value is a text string, stored using the database encoding (UTF-8,
UTF-16BE or UTF-16LE).
We will install some local files to have an environment to work and experiment
with SQLite.
Relevant links for downloads are liste in iLearn in the corresponding section.
Task
●
Download SQLite Tools from sqlite.org (look for „Precompiled
Binaries for ...)
●
Download SQLiteBrowser
●
Unpack both systems to your local drive I: in a directory called sqlite
●
Open the command shell cmd.exe
●
Change to drive I: ( I: )
●
Change working directory to sqlite ( cd sqlite)
SQLite in the shell: sqlite-tools
sqlite> .tables
sqlite> SELECT * FROM test;
DB Browser for SQLite
Open your
database-file in the
DB Browser
Test your model in SQLlite
Task
●
Open sqlite3.exe and create a database file messenger.db
●
Create the table Contact
●
Open the file in the DB Browser
●
Control the table Contact
●
Create a table Chat
●
Fill-in some test data
WOLFGANG DORNER
Prof. Dr.
INSTITUTE FOR
APPLIED INFORMATICS
Technologie Campus Freyung