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
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
SQL SERVER - Create Check Constraint on Column

SQL SERVER – Create Check Constraint on Column

June 22, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages, SQL Scripts

A junior developer wrote a trigger to block invalid data. A Check Constraint is simpler. My example limits PostalCode length in AdventureWorks and tests it.

Read More
A gloved hand holds secateurs to one dead branch of a bare apple tree, pruned twigs on the snow below.

A Quarterly Permission Review

June 21, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

A quarterly permission review checks server and database roles, new grants, orphaned users, service accounts, and owner signoff.

Read More
SQL Server query for SQL Server2.

SQL SERVER – Find Current Identity of Table

June 20, 2008
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server DBCC

Many developers use MAX() to find the current identity of a table. I prefer DBCC CHECKIDENT, which reports the current identity value directly.

Read More
Two plain wooden toolboxes of different sizes resting side by side on a neutral workbench.

Comparing Two Databases Without a Scoreboard

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

Learn how to compare databases using representative work, operational skills, recovery requirements, and costs rather than feature-count scoreboards.

Read More
Previous 1 … 502 503 504 505 506 507 508 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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