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
SQL SERVER - Find Space Used For Any Particular Table

SQL SERVER – Find Space Used For Any Particular Table

July 8, 2008
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server, SQL Stored Procedure

Running out of drive space is a common reason SQL Server stops. sp_spaceused shows the Space Used by any table, with its row count and index size.

Read More
A small car towing a heavy caravan slowly up a steep country lane

Trigger Overhead: Measuring the Hidden Cost of DML Triggers

July 5, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Trigger

Measure trigger overhead with controlled inserts, execution plans, and cached trigger statistics before moving slow work into a queue.

Read More
A hand pours red liquid into a copper jelly mold beside two finished jellies of different colors and the same shape.

Parameterized Queries From Application Code

June 29, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, Dynamic SQL, SQL Server, SQL Server Security

Use parameterized queries from application code to prevent SQL injection, improve plan reuse, and avoid parameter length mistakes.

Read More
Matching blue bowls occupy the upper-left compartments of two wooden display frames.

DATEPART Quarter: Keep the Year Beside the Quarter

June 26, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Reports, SQL Scripts, SQL Server

DATEPART quarter identifies a calendar component. I keep its year when reporting separate periods. A cross-year January case shows how quarter-only grouping combines events.

Read More
One blank cream reference card beside a plain pencil and small paper clip on a wooden desk.

A One Page Reference for Everyday SQL Server Work

June 25, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Build a practical SQL Server reference around everyday questions, with compact queries for context, objects, requests, space, and transactions.

Read More
A fingertip presses into a gap in an old stone wall where crumbled mortar lets a green shoot push through.

Finding Dynamic SQL Open to Injection

June 24, 2008
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Server, SQL Server Security, SQL Stored Procedure

Find dynamic SQL open to injection by searching module definitions for concatenation, then replace data concatenation with parameters.

Read More
A hand holds a magnifying glass under a garden leaf, revealing a cluster of insect eggs on its underside.

Reading SQL Server Release Notes Before You Patch

June 23, 2008
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Documentation, SQL Patch, SQL Server

Reading SQL Server Release Notes before patching helps you find known issues, fixes, behavior changes, and workload risks.

Read More
Previous 1 … 381 382 383 384 385 386 387 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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