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 conveyor belt of identical parcels beside a single hand trolley carrying one parcel

What Is a Cursor in SQL Server, and When to Avoid One

July 31, 2012
Pinal Dave
SQL Performance
Best Practices, SQL Performance, SQL Scripts, SQL Server

A cursor in SQL Server took 260 milliseconds where one SELECT took 4. Why the gap exists, how to turn a loop back into a set, and the three cases where a cursor really is the right answer.

Read More
A hand on a frosty windowsill with a red thread tied around one finger, snow and early snowdrops outside

Upcoming Birthdays in the Next 30 Days With T-SQL

July 30, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Find upcoming birthdays with T-SQL across year boundaries, choose a February 29 policy, and build a clear next-30-days list.

Read More
A hand hanging pruning shears on a shed pegboard where each tool has a painted outline behind it

Keeping Database Documentation Next to the Code

July 22, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Documentation, SQL Server

Keep database documentation close to SQL Server objects with extended properties, durable module comments, and catalog-generated reports.

Read More
An open plain reference book has several colored fabric bookmarks beside a magnifying glass.

Finding the Right Answer in SQL Server Documentation

June 24, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use SQL Server documentation with the right version and platform selected, read syntax carefully, and keep useful reference material offline.

Read More
A small wooden card organizer holding plain blank dividers beside a closed notebook on a desk.

Building a Reference You Will Actually Use Again

June 15, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Build a personal reference of dependable SQL examples with problem-based names, clear prerequisites, dated validation, and regular review.

Read More
A row of identical lifebuoy rings hung on posts along a wooden harbor pier, the nearest one vermilion.

An Error Handling Template for Stored Procedures With THROW

June 11, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server, SQL Stored Procedure, SQL Transactions

Build an error handling template with XACT_ABORT, XACT_STATE, durable error logging, and THROW, then test a forced procedure failure.

Read More
Gouache painting of an empty wooden stool at a workbench at dawn, with a folded letter sealed in vermilion wax resting beside a well worn tool left for a newcomer

A Letter to the Developer Starting Out

June 1, 2012
Pinal Dave
Personal
Best Practices, Career Advice, SQL Training

A letter to every developer starting out: it’s fine not to know, your hands learn slower than your head, choose people over perks, keep your promises and keep learning. One day you will be the one standing beside the bench.

Read More
Previous 1 … 20 21 22 23 24 25 26 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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