~/talk

Let me show you why data types still matter

Talkat SQLBits 2019 · 2019-02-27..03-02· [databases]
links:none on file
slides:none on file

Shows concrete bugs and fixes: a float rounding/precision case breaks a ceiling check and turns a cursor-to-set refactor from 2 minutes into 1 second but yields wrong results — lesson: float imprecision breaks monetary/counting logic. Concatenating 7,500 A + 510 B truncates because NVARCHAR halves capacity unless both sides use nvarchar(max), causing linked‑server name truncation. A table using NVARCHAR for GUIDs inflates storage from terabytes to megabytes after cleanup. Mismatched datetime2 precision blocks partition elimination and tiny SQL changes cut an ETL from 12h to <2h. Implicit conversions force index scans.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Float data type surprises
  3. 4:45Dangers of float for precision
  4. 5:07String concatenation issues
  5. 7:39Unicode vs non-Unicode strings
  6. 8:24Choosing string column types
  7. 10:13Data types and performance
  8. 12:00Memory grants and data types
  9. 12:20Partition elimination precision
  10. 15:34Implicit conversion costs
  11. 18:00Questions and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.