This tutorial explains how to use the MySQL SPACE function with syntax and examples.
The MySQL SPACE function returns a string with a specified number of spaces.
The syntax for the SPACE function in MySQL is:
The number of spaces to be returned.
The SPACE function can be used in the following versions of MySQL:
Let's look at some MySQL SPACE function examples and explore how to use the SPACE function in MySQL.
For example: