Skip to main content
Gordon Beeming

Father • Husband • Triathlete • SSW Solution Architect

homeblognuggetsprojectstagsabout
← all tags

Tagged T-SQL

1 postRSS ↗
Apr 09, 2015·18 min read

They said Select * was bad but...

So speaking to any smart database people they will generally tell you that the SELECT * FROM ... is a bad idea and should not be used. Today (well would of been if I didn't procrastinate) I spent many hours debugging something from the wrong places because I used SELECT *. Below is what I found out =). Rennie Moodley helped me understand what was happening after I figured out where the problem was, helped me create the sample code below and then the 2 of us and Christopher Swart poked at and improve the sample and found some more weirdness which you'll also see below.

T-SQLDataSQL Server+1 more
About
Gordon Beeming

Solution Architect at SSW in Brisbane, and a Microsoft MVP every year since 2014. Azure, DevOps, and helping teams write better C#. Husband and father, usually training for the next swim, bike or run.

More about me »
Archives
202628202537202422023420228All 202 posts »
Search

Searches posts, projects and nuggets.

Tags
VSTS / TFSAIAzureProductivityVisual StudioYouTube VideosSecurityDevOps.NETPowerShellGitHub
Elsewhere
GitHubLinkedInYouTubeRSS feed
xylemGordon Beeming

A personal blog about software development, DevOps, open source, and the occasional triathlon story. Built with Next.js.

Powered by curiosity and

Links
blognuggetsprojectstagsaboutcolor palette
Support
Buy Me a CoffeePatreonGitHub Sponsors
© 2013-2026 Gordon Beeming · Opinions are my own and not that of my company or anyone I engage with.