Tsql print julia rows

This article is tagged with: Tsql print julia rows and mysql

tsql print julia rows

-- generate a guid table
;with guids( i, guid ) as
(
select 1 as i, newid()
union all
select i + 1, newid()
from guids
where i < 20
)
-- print julia triangle
select replicate('* ', i)
from guids
order by i desc

This article is tagged with: Tsql print julia rows and mysql