Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

SPACE

Example

Generate a string containing 10 space characters.

SELECT SPACE(10); 

Definition and Usage

The SPACE() function generates a string containing a designated quantity of space characters.

Syntax

SPACE(number)

Parameter Values

Parameter

Description

number

Mandatory. The quantity of space characters to be produced.

Technical Details

Works in: From MySQL 4.0