Description
The SPACE( ) function returns a string, which consists of N space characters.
This function has the form:
SELECT SPACE(n)
Parameter | Description |
---|---|
n | A number |
Return Value
A string, which consists of N space characters.
Examples
The following example shows the basic use of this function:
mysql> SELECT SPACE(6);
-> ' '