SQLite VDBE opcode

Int64

Combine P1 and P3 into a signed 64-bit integer.

An example

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

SELECT -9223372036854775808
addropcodep1p2p3p4p5
0Init0400
1Int6401-21474836480
2ResultRow1100
3Halt0000
4Goto0100

Open it in the EXPLAIN visualizer →

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

What the SQLite documentation says

Combine P1 and P3 into a signed 64-bit integer. P1 is the least significant 32 bits and P3 is the most significant. Store the result in 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.

← Insert · IntCopy →