Alphabet triangle strikes again

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

USE master;

WITH n(n)as(SELECT number FROM spt_values WHERE'P'=type)SELECT(SELECT char(65+(n+x.n*x.n)%26)FROM n WHERE n<=x.n*2FOR xml path(''),type).value('.','char(51)')FROM n x WHERE n<26

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results