SQL Server SPACE() Function
Definition and Usage
The SPACE() function returns a string with a specified number of spaces.
Syntax
SPACE(number)Parameter Values
| Parameter | Description |
|---|---|
| number | Required. The number of spaces to be returned |
Technical Details
| Works in: | SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 |
|---|

