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
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
SQL SERVER - FIX : ERROR Msg 5174 Each file size must be greater than or equal to 512 KB

SQL SERVER – FIX : ERROR Msg 5174 Each file size must be greater than or equal to 512 KB

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

Msg 5174 says each file size must be greater than or equal to 512 KB, followed by error 1802. The fix is to create a database larger than 512KB.

Read More
A hand turning a spice grinder that turns whole peppercorns into fine powder

Hashing Data With HASHBYTES

November 11, 2007
Pinal Dave
SQL Tips and Tricks
ETL, SQL Function, SQL Server, SQL Server Encryption, SQL Server Security

HASHBYTES creates repeatable row fingerprints with SHA2 algorithms, but input encoding, NULL handling, and collision risk need a clear plan.

Read More
SQL SERVER - 2005 2000 - Search String in Stored Procedure

SQL SERVER – 2005 2000 – Search String in Stored Procedure

November 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Two scripts to search a string in stored procedure code, one for SQL Server 2000 using syscomments and one for SQL Server 2005, clearly labeled by version.

Read More
Previous 1 … 528 529 530 531 532 533 534 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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