Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL functions » SQL functions (P-Z)

 

SPACE function [String]

Returns a specified number of spaces.

Syntax
SPACE( integer-expression )
Parameters
  • integer-expression   The number of spaces to return.

Returns

LONG VARCHAR

Remarks

If integer-expression is negative, a null string is returned.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns a string containing 10 spaces.

SELECT SPACE( 10 );