📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

SLEEP



Sleeps seconds seconds on each data block.

Syntax

SLEEP(seconds)

Arguments

ArgumentsDescription
secondsMust be a constant column of any nonnegative number or float.|

Return Type

UInt8

Examples

SELECT sleep(2); +----------+ | sleep(2) | +----------+ | 0 | +----------+

Was this page helpful?