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 cabinet of seed drawers, each with a tiny window showing what it holds, one red tassel

Documenting a Database With Extended Properties

January 29, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Schema, SQL Documentation, SQL Server

Keep extended properties beside your SQL Server schema, maintain table and column descriptions, and query a useful data dictionary.

Read More
A freshly varnished wooden boat on a boatyard slipway with no mast yet, ropes and oars lying beside it.

Standard Settings for a New SQL Server Install

January 26, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, MAXDOP, SQL Server Configuration, SQL Server Installation

Review standard settings for a new SQL Server install, including memory, MAXDOP, tempdb, backups, and alerts before users depend on it.

Read More
A row of closed beach huts on a quiet promenade, one with a small window left propped open.

Checking Every Database for Risky Settings

January 23, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, Shrinking Database, SQL Server Configuration

Find risky settings across every SQL Server database, including AUTO_SHRINK, AUTO_CLOSE, page verification, recovery model, and ownership.

Read More
Two hands hold a bicycle inner tube under water in an enamel basin as a thin stream of bubbles rises from one spot.

Writing Tests for Stored Procedures

December 27, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Stored Procedure, SQL Transactions, Testing

Write tests for stored procedures with arrange, act, and assert steps in T-SQL, isolated data, and a repeatable check before every change.

Read More
A soil sieve over a wheelbarrow, fine soil fallen through while stones and roots stay caught on the mesh.

Check Constraints That Enforce Business Rules

December 24, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Constraint and Keys, SQL NULL, SQL Server

Check constraints keep row rules inside SQL Server, but NULL behavior and trusted status determine how much protection they provide.

Read More
A small wooden organizer separates blank index cards into several tidy compartments.

Finding the Right System View for the Question You Have

November 30, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose SQL Server system views by the question they answer, distinguish catalog metadata from runtime counters, and understand reset boundaries.

Read More
Two wicker baskets hold cream and blue twine balls beside an empty basket and a small shared tray.

AND and OR: Parentheses Make Predicate Precedence Clear

November 29, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

AND and OR predicates need explicit grouping. Use a complete small truth table to expose which alternatives share a common requirement.

Read More
Previous 1 … 45 46 47 48 49 50 51 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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