SQL Art, Part 2: New Year Fireworks in SSMS (Yes, Really)
Last time we turned SQL Server into a Christmas card. This time we’re doing something even less sensible: fireworks. Not charts. Not dashboards. Not “data visualization”. Actual fireworks, built from SQL Server geometry shapes and rendered in SSMS. What you’ll get Random firework bursts in the sky Rings, cores, rays, and trails “HAPPY NEW YEAR” stamped in spark pixels One simple way to remix it without understanding all the math If you want a reminder that SQL is just a programming language with a storage habit, this is it. Run it Paste this into SSMS, execute, then view the results in the spatial viewer. USE tempdb; GO DROP TABLE IF EXISTS #scene; DROP TABLE IF EXISTS #centers; CREATE TABLE #scene (shape geometry); CREATE TABLE #centers ( id int identity ( 1 , 1 ) primary key , x float not null , y float not null , r float not null ); DECLARE @Fireworks int = 6 ; -- bursts DECLARE @Rays int = 12 ; -- r...