Skip to content

Commit 6776535

Browse files
author
dbopt
committed
site: make the hero panel's finding count reproducible
The marked-up example advertised '3 findings', but the file as written also draws modern.missing_schema_prefix on the unqualified `Orders` — so anyone who actually ran it got 4. Schema-qualifying the FROM makes the label exact and models the practice the rule recommends. Verified: 3 findings, 2 errors, exit 1 under --fail-on error, matching the panel's footer.
1 parent 5826f4b commit 6776535

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ <h1>Find and fix slow SQL <em>before</em> it reaches production.</h1>
291291
<i>Pulls every column. Read amplification, and it breaks covering-index plans.</i>
292292
<b>hygiene.select_star</b>
293293
</div>
294-
<div class="mk-line"><span class="mk-n">5</span><span>FROM Orders o WITH (NOLOCK)</span></div>
294+
<div class="mk-line"><span class="mk-n">5</span><span>FROM dbo.Orders o WITH (NOLOCK)</span></div>
295295
<div class="mk-note" data-s="error">
296296
<i>Dirty reads: duplicated rows, missed rows, and rows from rolled-back transactions.</i>
297297
<b>hygiene.nolock</b>

0 commit comments

Comments
 (0)