This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
An adjustable curtain rod aligns repeated mounting holes before the curtains are fitted

Filling Template Parameters in SSMS With Ctrl+Shift+M

May 12, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut, SQL Variable

Template parameters save you from typing one value in four places, but they only paste text. Here is what that means in practice.

Read More
A pottery rib shapes a clay vessel beside a trimmed clay strip and a newly attached clay handle

XML modify(): Inserting, Replacing and Deleting Nodes

May 11, 2012
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Table Operation, SQL Variable, SQL XML

The modify() method edits XML in place, but a path that matches nothing changes nothing and says nothing. Here is how to stay in control.

Read More
A seam ripper rests at an interrupted line of stitching with loose thread and unfinished cloth

Timed-Out Queries in Query Store: Finding Aborted Executions

May 10, 2012
Pinal Dave
SQL Tips and Tricks
Query Store, SQL DMV, SQL Error Messages, SQL Monitoring

An aborted row is a clue, not a verdict. Here is how to read Query Store execution types and match them with what the caller saw.

Read More
A pastry crimper seals a pie edge through its fixed toothed shape beside unused decorative cutters

Dynamic ORDER BY Without Injection: Whitelisting Sort Columns

May 9, 2012
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Order By, SQL Server Security, SQL Variable

Parameters cannot name a column, so grids end up gluing text into SQL. Here is the approved-list pattern that keeps the sort safe.

Read More
SQL SERVER - Quiz and Video - Introduction to Hierarchical Query using a Recursive CTE

SQL SERVER – Quiz and Video – Introduction to Hierarchical Query using a Recursive CTE

May 8, 2012
Pinal Dave
SQL Puzzle
SQL in Sixty Seconds, SQL Scripts, SQL Server

Learn to write a hierarchical query using a recursive CTE with a short video and a quiz on an employee and manager table. Check your answer.

Read More
SQL SERVER - Quiz and Video - Introduction to SQL Server Security

SQL SERVER – Quiz and Video – Introduction to SQL Server Security

May 7, 2012
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros

A follow up to my primer on SQL Server security, with a short quiz and a video on three key ideas: granting, denying and revoking permissions.

Read More
Mixed bottles in a crate beside a sorted wooden wine rack, with three wax-sealed amber bottles drawn out together

Word Search Without Full-Text: Build a Word Index Table

May 6, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Search, SQL String

LIKE with a leading wildcard reads the whole table. A small side table of words turns that scan into a quick lookup, and you do not need full-text installed.

Read More
Previous 1 … 535 536 537 538 539 540 541 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com