Posts

Showing posts from September, 2026

Supplements and SQL Hints - Pt 3 - Table Hints

Image
  Welcome to part 3 of my month long series on Supplements and SQL Hints. A guide to getting enhancements in the gym and in your database. We're back to the database side of things with Table Hints today. Two weeks ago I touched on overall query hints, those boosters that might help speed your query along and give the query analyzer a little assistance. Table hints are helpers for specific tables in your query. You can use them on multiple tables within the same query, or just one and of course you could stack them.  Let's dive in shall we? NOLOCK Hint If you're a regular in the SQL Server community, you're already screaming at me and rightfully so. However, this blog is for beginners as well as seniors in the field so I want to be sure to address it. NOLOCK is used to allow reading of rows without acquiring a lock. Meaning your massive SELECT statement query won't create a blocking scenario with other readers or writers. Conversely, a NOLOCK will allow you to read ...

Supplements and SQL Hints - Part 2 - Pre Workouts

Image
Welcome to Part 2 of my month of September Special: Supplements and SQL Hints. We all might need a little boost now and then. Be it in the gym or in our SQL Servers. Therefore I am assembling this month long series, flipping back and forth between topics. This week I'm touching on those boosters that help get you going in the gym, the kickstart, the extra fuel booster that will ramp up your workout! I am going to declare at the outset, I am no doctor nor a licensed dietician. I am simply going to list out some of the pre workout supplements I have taken in the past or currently, how they work for me what they do and so forth. These paragraphs should not be taken as direction but rather simply as advice and personal experience. Before you begin ANY sort of dietary supplement, consult your family physician. Stim vs Non Stim What I refer to here is Stimulants. Ingredients such as caffeine, taurine and guarana. You might have seen these names on your favorite gas station energy drink. ...

Supplements and SQL Hints - Part 1 - TSQL Helpers

Image
  Let's face it, every now and then we need some help. A little boost to get over the finish line. Whether that be in the gym or in your daily life as a database administrator. Hence I am putting together a little mini series: Supplements and SQL Hints! Both are little helpers that can assist in crossing the finish line of a goal or simply improving overall performance. Honestly, when I first conceived of The Viking DBA Blog, this was I believe the second topic I jotted down to write about. Just never got around to it. But we're here now so let's dive in. The series is going to span the month of September, each week addressing a new topic under this banner. Week 1 - Query Hints. Using boosters that affect the overall execution plan of the script. Week 2 - Pre-workout supplements and energy boosters Week 3 - Table Hints. These are elements you can apply at a single table level Week 4 - Post workout supplements and muscle builders Week 5 - Join Hints. You guessed, how to...