I need a function in sql server to build all of changed word in below example;
for input word with length n must build 2^n changed word;
 For example, if the input of the function is

```
"I"

```

the output of the function should be

```
I
-   

```

the input of the function is

```
"am"

```

the output of the function should be

```
am
-m
a-
--

```

the input of the function is

```
"sql"

```

the output of the function should be

```
sql
-ql
s-l
sq-
--l
s--
-q-
--- 

```