SQLite Tutorial SQLite Advanced SQLite Database SQLite References

SQLite SQLITE_SOURCE_ID() Function



The SQLite SQLITE_SOURCE_ID() function returns a string that identifies the specific version of the source code that was used to build the SQLite library. The string returned by this function is the date and time that the source code was checked in followed by the SHA3-256 hash for that check-in.

Syntax

SQLITE_SOURCE_ID()

Parameters

No parameter is required.

Return Value

Returns a string that identifies the specific version of the source code that was used to build the SQLite library.

Example:

The example below shows the usage of SQLITE_SOURCE_ID() function.

SELECT SQLITE_SOURCE_ID();

The above query will return the version string of the source code that was used to build the SQLite library. The output of the above query will be similar to:

SELECT SQLITE_SOURCE_ID();
Result: 2022-03-12 13:37:29 38c210fdd258658321c85ec9c01a072fda3ada94540e3239d29b34dc547a8cbc

❮ SQLite Functions