Documentation

    uuidv7

    Return a random, time-ordered UUID v7, such as 019482e4-1441-7aad-8127-eec99573b0a0.

    Try an expression

    In Formula, enter the expression and set Output type to VARCHAR.

    Expression

    uuidv7()

    Expected behavior

    A newly generated version 7 UUID.

    The expression returns UUID. Formula stores it as VARCHAR in this example. Its value varies between executions; the example checks its behavior rather than a fixed value.

    Arguments and types

    uuidv7()
    Supported signatures (1)
    uuidv7() → UUID

    The result type can depend on the input types. See DuckDB for the full argument rules.

    Browse conversion & identifiersDuckDB documentation

    Function metadata from DuckDB, used under the MIT license.