Two Of My Favorite NOLOCK Demos from Paul White and Aaron Bertrand

  Рет қаралды 553

Erik Darling (Erik Darling Data)

Erik Darling (Erik Darling Data)

Күн бұрын

Пікірлер: 11
@vasylpavuk391
@vasylpavuk391 21 күн бұрын
This format of shorts is great. Thank you.
@ErikDarlingData
@ErikDarlingData 21 күн бұрын
Ah, thanks. I wish I had more short topics to talk about, heh.
@Garstor
@Garstor 21 күн бұрын
Hey! I'm Canadian, too! Still a proud reservist in the Darling Data Army though.
@ErikDarlingData
@ErikDarlingData 21 күн бұрын
🫡🍟
@stephenlawrenson2380
@stephenlawrenson2380 21 күн бұрын
We are encountering a race condition in Azure SQL. Many devices writing many records, and then on prem wanting to pull them records down by identity from last pull. Had one record skipped!! Nice race condition. I have countered the devs to use a dtg column to introduce stability windows. The developer muted setting read committed on the DB. My response was “I own guns” 😂😂😂
@ErikDarlingData
@ErikDarlingData 21 күн бұрын
are you not using the OUTPUT clause for this?
@stephenlawrenson2380
@stephenlawrenson2380 21 күн бұрын
@ from running a delete to serialise it out? The events are still required to exist in azure after being pulled down as they are required to be queried for other processes!!
@ErikDarlingData
@ErikDarlingData 21 күн бұрын
you can use OUTPUT from any modification, not just deletes. DECLARE @t table ( id bigint IDENTITY PRIMARY KEY, c1 date NOT NULL ); INSERT @t ( c1 ) OUTPUT Inserted.* VALUES ('20241211');
@curtisbragdon5194
@curtisbragdon5194 2 күн бұрын
@@ErikDarlingData I had to do this a few months back. Thanks for the demos. I will add them to my Baker's Dozen of bad query design demos for our Developers/DBAs
@BrandonChampion
@BrandonChampion 16 күн бұрын
My favorite Aaron Bertrand NOLOCK demo is where he shows (admittedly a very contrived) scenario where it can return values that never actually existed in the table. kzbin.info/www/bejne/gYPPg56Qn5Wia5osi=6QpvnSv0xQ1-Jzwg&t=4606
@ErikDarlingData
@ErikDarlingData 16 күн бұрын
Oh I had forgotten about that one!
How To Write SQL Server Queries Correctly: Joins With OR Clauses Part 2
18:04
Erik Darling (Erik Darling Data)
Рет қаралды 303
🎄 Solving Two Days of Advent Of Code 🎄
56:21
Nick Spreen
Рет қаралды 5
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 263 М.
Webinar: Recapping the 2024 PASS Data Community Summit
1:01:34
SQL Solutions Group
Рет қаралды 68
Was I Wrong About Blazor? | Coding Shorts 111
16:35
Shawn Wildermuth
Рет қаралды 29 М.
How To Write SQL Server Queries Correctly: Apply
20:12
Erik Darling (Erik Darling Data)
Рет қаралды 950
This is why understanding database concurrency control is important
9:05
The Correct Way to Run Database Migrations in EF Core
19:51
Nick Chapsas
Рет қаралды 38 М.
Better Filtering With YEAR and MONTH Functions In SQL Server
11:25
Erik Darling (Erik Darling Data)
Рет қаралды 815
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 104 М.
How To Write SQL Server Queries Correctly: Common Table Expressions
27:49
Erik Darling (Erik Darling Data)
Рет қаралды 2,4 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41