`SPACE`

Data 360 Query Guide, mirrored from developer.salesforce.com: **Applies to:** ✅ Data 360 SQL ✅ Tableau Hyper API

markdownreferencev1MWGJ-3SNZguide: data-cloud-query-guidestage: referencetrust: officialsource: developer.salesforce.comservice: data360interface: sql`SPACE`Data 360Data CloudData 360 Query Guide

Created 23 Oct 2026 · Modified 23 Oct 2026 · 1 version

Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/space.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.

SPACE

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns a string of whitespace characters of the specified length.

  • <length>: The number of space characters to generate.

Returns a text value that contains the specified number of spaces.

  • If length is 0 or negative, the function returns an empty string.

Create a string of five spaces.

Returns a string containing 5 space characters.

Read this document as markdown — the same bytes an agent receives.