Useful Links
Computer Science
Databases
SQLite Database
1. Introduction to SQLite
2. Getting Started with SQLite
3. Core SQL Concepts and Data Definition
4. Data Manipulation Language
5. Querying Data with SELECT
6. Advanced SQL Features
7. Database Administration and Optimization
8. Using SQLite with Programming Languages
9. SQLite Extensions and Advanced Capabilities
10. SQLite Internals and Architecture
11. Performance Tuning and Best Practices
12. Security Considerations
13. Troubleshooting and Debugging
Core SQL Concepts and Data Definition
SQLite Data Types
Type Affinity System
TEXT Affinity
NUMERIC Affinity
INTEGER Affinity
REAL Affinity
BLOB Affinity
Dynamic Typing Model
Storage Classes
NULL
INTEGER
REAL
TEXT
BLOB
Type Conversion Rules
Date and Time Handling
Date and Time Functions
Storage Formats
Timezone Considerations
Creating Tables
Basic Table Creation Syntax
Specifying Columns and Types
Using the IF NOT EXISTS Clause
Temporary Tables
Table Naming Conventions
Table Constraints
PRIMARY KEY Constraint
Integer Primary Key Optimization
Rowid Tables
Composite Primary Keys
FOREIGN KEY Constraint
Enabling Foreign Key Support
ON DELETE Actions
ON UPDATE Actions
Referential Integrity
UNIQUE Constraint
NOT NULL Constraint
CHECK Constraint
DEFAULT Values
COLLATE Clause for Text Comparison
Modifying Table Structure
Renaming a Table
Adding a Column
Renaming a Column
Dropping a Column
Limitations of ALTER TABLE
Workarounds for Complex Schema Changes
Dropping Tables
Basic Syntax
Using the IF EXISTS Clause
Effects on Dependent Objects
Cascading Effects
Previous
2. Getting Started with SQLite
Go to top
Next
4. Data Manipulation Language