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
Truncate Log File

SQL SERVER – Shrinking Truncate Log File – Log Full – Part 2

November 22, 2007
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Backup and Restore, SQL Server, Transaction Log

About a year ago, I wrote SQL SERVER – Shrinking Truncate Log File – Log Full. I was just going through some of the earlier posts and comments.

Read More
SQL SERVER - Generate Incremented Linear Number Sequence

SQL SERVER – Generate Incremented Linear Number Sequence

November 21, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

A reader asked how to generate an incremented linear number sequence in SQL Server, like a sequence in Oracle. A short WHILE loop script does it.

Read More
Gouache painting: two river sluice gates stand side by side

DEGREES: Preserve Fractions When Converting Angles

November 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

DEGREES converts radians into degrees. An integer radian argument can narrow the output, while a float argument retains an approximate fractional degree value.

Read More
A seedling under a glass cloche on a greenhouse bench, with a vegetable garden visible through the open door.

Preview Builds: What You May and May Not Do With Them

November 19, 2007
Pinal Dave
SQL Tips and Tricks
CTP, SQL Licensing, SQL Server, Testing, Virtualization

Preview Builds are useful for SQL Server evaluation when you check license terms, isolate test data, and plan for disposal instead of upgrade.

Read More
Classic car raised on a garage inspection lift, checked before anything gets fixed

SQL SERVER – 2005 – Best Practices for SQL Server Health Check

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

Best practices for a SQL Server Health Check: run one every 6 to 12 months, document everything, and plan fixes afterward instead of fixing during the check.

Read More
Two loaves from the same recipe cool on a rack, one tall and golden, the other low and pale.

Comparing Server Settings Across Instances

November 15, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Server Configuration, SQL System Table

Comparing server settings across SQL Server instances shows configured and live values, so you can judge which differences affect a workload.

Read More
Red, blue and gray felt hats share different levels of a wooden display shelf.

TOP WITH TIES: Keep Every Row at the Cutoff

November 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Order By, SQL Scripts, SQL Server

TOP WITH TIES helps me keep equally qualified rows at a shortlist boundary. A unique ordering key changes that selection. Separate the cutoff rule from the final display order.

Read More
Previous 1 … 392 393 394 395 396 397 398 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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