bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL SPACE() Function

Example

SELECT
SPACE(10);

Definition and Usage

The SPACE() function returns a string of the specified number of space characters.

Syntax

SPACE(
number
)

Parameter Values

ParameterDescription
numberRequired. The number of space characters to return

Technical Details

Works in:From MySQL 4.0

Previous

MySQL RTRIM() Function

Next

MySQL STRCMP() Function