Need Assistance?

support@tutorialshub.in

Data Types, Affinity & STRICT Tables

SQLite's 5 Storage Classes

ADVERTISEMENT
SQLite Free Lesson
5 min read
ADVERTISEMENT

SQLite keeps things simple with just 5 core storage classes:

  • NULL — Missing/empty value
  • INTEGER — Signed integer (1 to 8 bytes depending on size)
  • REAL — 8-byte floating-point number
  • TEXT — UTF-8 / UTF-16 string
  • BLOB — Raw binary data (images, files)

Note: SQLite has no separate BOOLEAN or DATETIME storage class—booleans are stored as 0/1 integers, and dates as ISO-8601 TEXT ('2026-11-28') or Unix INTEGER timestamps.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you