SQLite has introduced the FORMAT()
function, which can be used to format strings.
More precisely, it has actually just renamed its SQL PRINTF()
function to FORMAT()
. The reason is for better compatibility with other DBMSs. The original PRINTF()
name is retained as an alias for backwards compatibility.
The FORMAT()
function (or its naming) was introduced in SQLite 3.38.0, which was released on 22 February 2022.