concept

Bound parameters

Bind values through a driver instead of interpolating them into SQL. Placeholders cannot generally replace identifiers; allowlist identifiers separately. Python sqlite3 uses question-mark or named parameters.

Formal Syntax & Structure

sql syntaxsql
Python sqlite3: execute(sql, parameters)

Working Example

Example Snippetsql
SELECT ?;
SQL Reference