Example

Return a string with 10 space characters:

SELECT SPACE(10);

Definition and Usage

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

Syntax

SPACE(number)

Parameter Values

Parameter Description
number Required. The number of space characters to return

Technical Details

Works in: From MySQL 4.0


Login
ADS CODE