SPACE

    Syntax

    SPACE( value )
    

    Description

    Returns a string with the specified number of spaces.

    Argument types:

    • valueInteger

    Return type: String

    Example

    SPACE(5) = "     "
    

    Data source support

    ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.