By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
10000 rows affected
id | string | characters | translations | newString |
---|---|---|---|---|
0 | abc | abc | bcd | bcd |
1 | abc | cba | b | b |
2 | abc | aba | bab | bac |
3 | abc | aba | bad | bac |
4 | abc | ab | bad | ba |
5 | abc | az | pq | pb |
6 | a c | c | z- | a- |
7 | ac | c | z- | az |
8 | ac | ca | z | z |
9 | a c | c a | a-z | z-a |
Msg 137 Level 15 State 2 Line 83
Must declare the scalar variable "@from_chars".
Msg 4121 Level 16 State 1 Line 1
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.Translate", or the name is ambiguous.
Msg 9828 Level 16 State 3 Line 1
The second and third arguments of the TRANSLATE built-in function must contain an equal number of characters.
Msg 4121 Level 16 State 1 Line 1
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.translate", or the name is ambiguous.
Msg 9828 Level 16 State 3 Line 1
The second and third arguments of the TRANSLATE built-in function must contain an equal number of characters.
Msg 4121 Level 16 State 1 Line 1
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.translate", or the name is ambiguous.