sp_TexasHoldEm: Multi-Player Poker in T-SQL


Wanna play some Texas Hold ‘Em style poker and make a pile of Query Bucks? Wanna watch other database people playing?

Fire up SSMS and connect to:

Server: firstresponderkit.database.windows.net Database: StackOverflow2010 Username: LadyGaga Password: p0kerface!

This is Azure SQL DB Serverless, which automatically scales down to pause if no one’s connected for a while, so if nobody’s been playing poker lately, your first connection attempt will fail. Just retry.

And here are a set of commands that will come in handy – copy/paste ’em all into your SSMS window so you can highlight & execute the appropriate line,