I need a function in sql server to insert a space in each position of an input string.
For example, if the input of the function is
"example"
the output of the function should be
word1 word2
e xample
ex ample
exa mple
exam ple
examp le
exampl e
Or like this if you want one column with the space inserted: