SQLite VDBE opcode

Variable

Transfer the values of bound parameter P1 into register P2

An example

10 of the 178 statements we compiled against the sample database use Variable. This is the one with the shortest program; the rows that use Variable are highlighted.

SELECT ?
addropcodep1p2p3p4p5
0Init0400
1Variable1100
2ResultRow1100
3Halt0000
4Goto0100

Open it in the EXPLAIN visualizer →

Also in this program: Goto, Halt, Init, ResultRow.

What the SQLite documentation says

Transfer the values of bound parameter P1 into register P2

From sqlite.org's list of opcodes for SQLite 3.54.1, in the public domain. Opcodes are not a stable interface and change between releases.

← Vacuum · VBegin →