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
A swing-arm towel rail with some arms swung out holding towels and others folded flat, one red towel.

Bit Functions in SQL Server 2022: BIT_COUNT, GET_BIT and LEFT_SHIFT

June 19, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Operator, SQL Server, SQL Server 2022

Use BIT_COUNT and SQL Server 2022 bit functions to read, set, count, and shift flags, while choosing clear storage for ordinary settings.

Read More
Two plain handheld magnifying glasses rest beside a small closed notebook on a desk.

What to Look For in a SQL Client Tool

June 18, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose a SQL client tool by testing result handling, execution plans, transactions, and connection identity before trusting it with real work.

Read More
A mousetrap style bar switch on a doorframe connected by a taut wire to a small brass bell

What Is a Trigger in SQL Server?

June 17, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

A trigger in SQL Server runs because something else happened, and you never call it. The inserted and deleted tables, why it fires once per statement and not once per row, and when to reach for something else.

Read More
An unmarked ring mandrel beside rings with differing diameter and thickness

Cosine, Euclidean or Dot: Picking a Vector Distance Metric

June 16, 2013
Pinal Dave
SQL Tips and Tricks
AI, Mathematics, SQL Server

Cosine, Euclidean and dot can rank the same vectors differently. Here are tiny examples you can check by hand, plus how to choose.

Read More
A hand trying to close a zip whose two sides do not match, the red pull stuck.

Fixing Collation Conflicts Between tempdb and Your Database

June 15, 2013
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Error Messages, SQL Server, SQL TempDB

Fix tempdb collation conflicts with DATABASE_DEFAULT, compare a join-level COLLATE, and inspect contained-database behavior.

Read More
A kitchen pass with a single order pad and a full tray of dishes waiting beside it

What Is a Stored Procedure in SQL Server?

June 14, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

A stored procedure is SQL with a name, a door and a contract. Why granting EXECUTE beats granting table access, what parameters buy you, and the plan reuse story people get half right.

Read More
A shared workshop bench between two work areas, its surface covered in offcuts and marks from many jobs

What Is tempdb, and Why Everyone Shares It

June 13, 2013
Pinal Dave
SQL Performance
Best Practices, Database, SQL Performance, SQL Server

tempdb is one scratch database shared by every database on the instance. The three kinds of thing that land in it, why it is rebuilt at every restart, and the reason its file count keeps coming up.

Read More
Previous 1 … 270 271 272 273 274 275 276 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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