tsql print julia rows

Solutions on MaxInterview for tsql print julia rows by the best coders in the world

showing results for - "tsql print julia rows"
Alexander
06 Jul 2018
1-- generate a guid table
2;with guids( i, guid ) as
3(
4    select 1 as i, newid()
5        union all
6    select i + 1, newid()
7        from guids
8        where i < 20
9) 
10
11-- print julia triangle  
12select replicate('* ', i)    
13from guids 
14order by i desc