SPACE

Return a string of spaces. This function returns a string consisting of a specified number of space characters.

Syntax

SPACE(N)

Description

Returns a string consisting of N space characters. If N is NULL, returns NULL.

Examples

SELECT QUOTE(SPACE(6));
+-----------------+
| QUOTE(SPACE(6)) |
+-----------------+
| '      '        |
+-----------------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

Last updated

Was this helpful?