All pages
Powered by GitBook
1 of 1

Loading...

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

This page is licensed: GPLv2, originally from

SELECT QUOTE(SPACE(6));
+-----------------+
| QUOTE(SPACE(6)) |
+-----------------+
| '      '        |
+-----------------+
fill_help_tables.sql