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 - Ideal TempDB FileGrowth Value

SQL SERVER – Ideal TempDB FileGrowth Value

May 17, 2008
Pinal Dave
SQL Performance
SQL Server, SQL TempDB

What is a good TempDB FileGrowth value? Here are simple size-based guidelines, from 10 MB growth for small files to 10 percent for large ones.

Read More
Six blank wooden blocks fit a bounded composing tray while a spare rests outside

Readable IDs: A Bounded Computed Invoice Number

May 11, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Computed Column, SQL Server

Create readable IDs with a computed invoice number while retaining the numeric key. Enforce the six-digit domain and plan format changes before growth.

Read More
Colored ceramic beads in a pale shallow tray beside an empty tray and a separate blue bead.

XQuery distinct-values: Deduplicate Atomic Values, Not Nodes

May 9, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL XML

XQuery distinct-values removes repeated atomic values rather than selecting representative source nodes. I rebuild a small sorted XML result from repeated text. The example also keeps an empty document in view.

Read More
A curved brass strip over a straight ivory bar between dark wooden end blocks, beside two ochre stones.

ACOS: Check the Cosine Domain Before Calculating Angles

May 4, 2008
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

ACOS calculates an angle from a supported cosine ratio. Keep invalid and missing inputs visible while displaying valid radians at a chosen scale.

Read More
Five rectangular ceramic dishes tied with a sage ribbon on a wooden shelf.

PERCENT_RANK Versus CUME_DIST: What Ties Change

May 3, 2008
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Server

PERCENT_RANK versus CUME_DIST answers different ranking questions. Keep peers intact and compare missing scores and singleton groups.

Read More
A damaged cream pottery bowl and its detached rim fragment sit beside an intact empty bowl on a worktable.

NOT and NULL: Unknown Does Not Become True

May 2, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

NOT and NULL do not create a complete two-way classification. State whether missing values belong in a filter or a separate reporting category.

Read More
Hands finishing a small, neat fishing fly at a vise, with unused feathers pushed aside in a tray.

Writing a Good Technical Blog Post

May 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Blogging, SQL Documentation, SQL Server

A technical blog post works when it solves one problem with tested code, clear assumptions, a readable result, and honest limits.

Read More
Previous 1 … 384 385 386 387 388 389 390 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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