sql server - T-SQL - Is this possible (solve) -
i have problem solve language i'm familiar with. use sql therefore wondering if there following issue:
the following word:
capricorn
substitutes:
a = @ = ! o = 0 (zero)
i must find combinations of spelling capricorn , without substitutes
could point me in right direction of use or solution?
kind regards
this cartesian product or cross join in sql.
select cast('c' varchar(50)) + +'pr' +i + 'c' + o + 'rn' (values ('a'), ('@')) t1(a) cross join (values ('i'), ('!')) t2(i) cross join (values ('o'), ('0')) t3(o)
Comments
Post a Comment