SQLite VDBE opcode

Integer

The 32-bit integer value P1 is written into register P2.

An example

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

SELECT 1
addropcodep1p2p3p4p5
0Init0400
1Integer1100
2ResultRow1100
3Halt0000
4Goto0100

Open it in the EXPLAIN visualizer →

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

What the SQLite documentation says

The 32-bit integer value P1 is written 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.

← IntCopy · IntegrityCk →