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
Three small bouquets sharing the same flowers in different mixes, a red poppy in two of them

Tagging With a Many-to-Many Table: Storing and Querying Hashtags

September 4, 2010
Pinal Dave
SQL Tips and Tricks
Database, Normalization, SQL Constraint and Keys, SQL Joins

Store hashtags in a tag and bridge table, normalize input, query any or all requested tags, and count weekly trends without scans.

Read More
SQL SERVER - Soft Delete - IsDelete Column - Your Opinion

SQL SERVER – Soft Delete – IsDelete Column – Your Opinion

September 3, 2010
Pinal Dave
SQL Tips and Tricks

Soft delete with an IsDelete column marks rows as deleted but keeps them. Michael J Swart dislikes it, and I agree. I share a similar story and ask your opinion.

Read More
A kitchen pot rack tilting because every heavy pan hangs from one end, the other end's hooks empty.

Data, Log and tempdb File Placement: Checking Where Everything Lives

September 2, 2010
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL TempDB, Transaction Log

Check file placement for data, logs, and tempdb, inspect volume free space, and plan a Windows file move with a verified recovery path.

Read More
A harbor post notched with flood marks, a hand adding a fresh red notch

Keeping a Change Log for Every Database

August 31, 2010
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Audit, SQL Documentation

A change log for every database records what changed, when, why, and by whom, with a simple table and a habit of updating it.

Read More
A crate of blue ceramic bowls, a separate sample bowl and a clay inspection token.

Return Codes: Keep Procedure Status Separate From Data

August 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Stored Procedure

Return codes carry procedure status separately from application values. This private demonstration compares result sets, captured output and omitted OUTPUT. It also separates an optional no-work request from a genuine raised error.

Read More
A garden hose made of many short pieces joined by brass couplings lies coiled beside one smooth hose on a shed wall.

Monitoring Log Growth and VLF Counts

August 29, 2010
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, Transaction Log, VLF

Monitor VLF counts and transaction log growth with SQL Server DMVs, then choose file growth settings that keep recovery and maintenance predictable.

Read More
Different stone paths wind through a hillside garden near a sheltered gate.

SQL SERVER – Getting Started with Execution Plans

August 27, 2010
Pinal Dave
SQL Tips and Tricks
Execution Plan

Execution plans connect a query with the work SQL Server chooses. I start with a small question and inspect the relevant properties.

Read More
Previous 1 … 422 423 424 425 426 427 428 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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