Skip to content

Glossary: SQL Beyond the Basics

PRAGMA

Also written: PRAGMA foreign_keys

A SQLite-specific command that changes a setting or reports on the database. `PRAGMA foreign_keys = ON;` makes SQLite check foreign keys.

Where the book teaches it

Related terms

Foreign key