SPACE: returns a set number of spaces : Space « String Functions « SQL Server / T-SQL






SPACE: returns a set number of spaces


1> -- SPACE: returns a set number of spaces.
2>
3> SELECT "Robin"+SPACE(10)+"Dewson"
4> GO

---------------------
Robin          Dewson

(1 rows affected)
1>
           
       








Related examples in the same category

1.SPACE(20 - LEN(Name))