Skip to content

Darling Data

AI Training for Database Teams and SQL Server Performance Tuning

Darling Data
  • Blog
    • Series
  • Training and Consulting
    • AI and Vector Search Services
    • SQL Server Health Check
    • Working Together
    • AI for Database Teams Workshop
    • SQL Server Training
    • SQL Server Consulting
    • AI Agents for SQL Server: The Guide
  • Scripts
    • sp_HealthParser
    • sp_HumanEvents
    • sp_HumanEventsBlockViewer
    • sp_IndexCleanup
    • sp_LogHunter
    • sp_PerfCheck
    • sp_PressureDetector
    • sp_QuickieStore
    • sp_QueryReproBuilder
    • sp_QueryStoreCleanup
    • Before You Ship That
  • Contact
    • About Me
    • Speaker Information
  • Monitoring
  • Planalyzer
  • Request a Call
  • Get the course

Category: Parameterization

Forced Parameterization Doesn’t Fix SQL Injection Problems In SQL Server

Posted on May 21, 2020November 11, 2026 by Erik Darling

Or even application code that builds unparameterized strings, you’ve probably already had someone steal all your company data.

Read the post: Forced Parameterization Doesn’t Fix SQL Injection Problems In SQL Server

Posted in Forced Parameterization, Parameterization, SQL Server, T-SQL

What’s The Point of 1 = (SELECT 1) In SQL Server Queries?

Posted on August 30, 2019October 22, 2026 by Erik Darling

I use it often in my demo queries because I try to make the base query to show some behavior as simple as possible.

Read the post: What’s The Point of 1 = (SELECT 1) In SQL Server Queries?

Posted in SQL Server, Execution Plans, Parameterization, Query Tuning6 Comments on What’s The Point of 1 = (SELECT 1) In SQL Server Queries?

What Happens When You Don’t Parameterize Dynamic SQL In SQL Server?

Posted on January 30, 2019November 10, 2026 by Erik Darling

When I blogged about passing parameters to TOP, we ran into a problem that has many possible solutions.

Read the post: What Happens When You Don’t Parameterize Dynamic SQL In SQL Server?

Posted in SQL Server, Dynamic SQL, Parameter Sniffing, Parameterization3 Comments on What Happens When You Don’t Parameterize Dynamic SQL In SQL Server?

Posts pagination

Newer posts 1 2
Video courseThese days I have AI do the annoying stuff.

Work With Your Databases the Way I Do shows you how I set that up, one step at a time.

$250 until December 1, then $500
Get the courseTeaching a whole team? One-day workshopWant a day one-on-one? Work with me for a day
Get new posts by email

Plus a free copy of my book Great Post, Erik.

Your team is already using AI tools.

I'll teach them to work with your databases the way I do.

One-day workshop, on-site or remote.

Upcoming Events 2027:
Boston AI Workshop: Burlington, MA April 9

Copyright © 2019-2026 Darling Data

Learn

  • Video course
  • Team workshop
  • One-on-one day
  • SQL Server training
  • Blog
  • Blog series

Consulting

  • SQL Server consulting
  • Health Check
  • AI and vector search
  • Request a call

Free tools

  • Performance Monitor
  • Performance Studio
  • Planalyzer
  • Before You Ship That
  • Scripts on GitHub

Darling Data

  • About
  • Speaker information
  • Contact
  • Privacy policy
YouTubeGitHubLinkedInBlueskyXTikTok

Copyright © 2019-2026 Darling Data