TSQL Version

Made to prove I could do it.