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 gouache packing workshop pairs an open fitted framework with the matching solid pieces needed to fill it.

SQL SERVER – Generate Script with Data from Database – Database Publishing Wizard

November 16, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Download, SQL Scripts

The Database Publishing Wizard scripted schema and data for SQL Server 2005-era transfers. I keep that workflow separate from current SSMS instructions.

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
Two matching potted bay trees by a step, one clipped round and one grown lopsided with a stray branch.

Configuration Drift Between Servers

November 14, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Server, SQL Server Configuration

Find configuration drift between SQL Server instances, establish a baseline, and separate approved exceptions from settings that need repair.

Read More
A gouache inspection bench preserves one cracked ceramic vessel separately from intact vessels beside an inspection lens.

SQL SERVER – DBCC CHECKDB Introduction and Explanation – DBCC CHECKDB Errors Solution

November 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

DBCC CHECKDB checks database consistency. If it reports corruption, I preserve the output and establish the recovery options.

Read More
SQL SERVER - FIX : ERROR Msg 1803 The CREATE DATABASE statement failed. The primary file must be at least 2 MB to accommodate a copy of the model database

SQL SERVER – FIX : ERROR Msg 1803 The CREATE DATABASE statement failed. The primary file must be at least 2 MB to accommodate a copy of the model database

November 12, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 1803: CREATE DATABASE failed because the primary file must be at least 2 MB to hold a copy of the model database. Make it larger than model and 512KB.

Read More
A knife leveling flour in the smallest of a set of measuring spoons

Decimal Precision and Rounding in SQL Server

November 12, 2007
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Datatype, SQL Function, SQL Server

Decimal precision in SQL Server controls arithmetic results and rounding; use explicit scales, test boundaries, and compare money with decimal.

Read More
Previous 1 … 785 786 787 788 789 790 791 … 842 Next
  • Books
  • Testimonials
  • Privacy Policy

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