ID EN
String Functions and Operators

SPACE(N)

MySQL 8.4

Returns a string consisting of N space characters, or NULL if N is NULL.

Syntax

MYSQL
SELECT SPACE(6);
'      '

Examples

Example
MYSQL
SELECT SPACE(6);
'      '