DB2 Version 9.7 for Linux, UNIX, and Windows

SPACE scalar function

Read syntax diagramSkip visual syntax diagram
>>-SPACE--(--expression--)-------------------------------------><

The schema is SYSFUN.

Returns a character string consisting of blanks with length specified by the argument.

The argument can be SMALLINT or INTEGER.

The result of the function is VARCHAR(4000). The result can be null; if the argument is null, the result is the null value.