~/talk

Check and Detect T SQL Code Analysis

Talkat Code Quality Conference 2024 · on Thursday, 2024-06-27· [databases, testing]
slides:none on file

Shows three concrete tools and what they do: SQLCheck CLI produces fast C++ text output and flags issues like vague primary key names but fails on edge cases because it uses regex parsing; ScriptDOM visitor pattern is a .NET parser that builds an AST and reliably detects constructs (demo finds SELECT and later a NOLOCK parsing quirk); and SQL Database Projects run code analysis at build time, can treat rules as warnings or errors, and pick up community rule sets like tsql-smells 50+ rules*.

AI-written summary · about

  1. 0:00T-SQL code analysis intro
  2. 2:10SQL code quality in dev
  3. 8:13SQL Check CLI tool
  4. 11:24ScriptDom parsing SQL
  5. 21:03SQL projects and analysis
  6. 29:19Customizing SQL rules
  7. 33:34Future of SQL analysis
  8. 36:46Summary and Q&A
~/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.