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

SPACE



Returns a string consisting of N blank space characters.

Syntax

SPACE(<n>);

Arguments

ArgumentsDescription
<n>The number of spaces

Return Type

String data type value.

Examples

SELECT SPACE(20) +----------------------+ | SPACE(20) | +----------------------+ | | +----------------------+

Was this page helpful?