Alphabet triangle

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

DECLARE @ varchar(52)='YXWVUTSRQPONMLKJIHGFEDCBA',@o varchar(max)SELECT @+='Z'+REVERSE(@)+char(13),@o=@
WHILE''<@
SELECT @=STUFF(@,LEN(@)/2,2,''),@o=@+@o+@
PRINT @o

Enter Parameters

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