forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
4.2 KiB
4.2 KiB
space
This function is used to return a specified number of spaces.
Syntax
space(bigint <n>)
Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
n |
Yes |
BIGINT |
Number of spaces |
Return Values
The return value is of the STRING type.
Example Code
The value 6 is returned.
select length(space(6));
Parent topic: String Functions