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 cabinet shows usable space reclaimed inside an unchanged drawer, with removed dividers set aside.

SQL SERVER – Reclaim Space After Dropping Variable – Length Columns Using DBCC CLEANTABLE

January 11, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server DBCC, SQL System Table

DBCC CLEANTABLE can reclaim selected space left after dropping variable-length columns. I distinguish that table operation from shrinking a database file.

Read More
SQL SERVER - 2005 - Display Fragmentation Information of Data and Indexes of Database Table

SQL SERVER – 2005 – Display Fragmentation Information of Data and Indexes of Database Table

January 10, 2008
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts, SQL Server DBCC, SQL System Table

How do you find Fragmentation Information for a table in SQL Server 2005? DBCC SHOWCONTIG has limits, so I use sys.dm_db_index_physical_stats instead.

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 - Types of DBCC Commands When Used as Database Console Commands

SQL SERVER – Types of DBCC Commands When Used as Database Console Commands

October 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Server DBCC

The four types of DBCC Database Console Commands: maintenance, miscellaneous, informational and validation, with a couple of examples of each from MSDN.

Read More
A lifeboat hanging in its davits on a ferry deck, cover tight and ropes coiled, salt dried across the canvas.

What RESTORE VERIFYONLY Checks and What It Misses

October 17, 2007
Pinal Dave
SQL Tips and Tricks
Database Corruption, DBA, SQL Backup and Restore, SQL Server DBCC

RESTORE VERIFYONLY checks backup readability and checksums, but it cannot prove a full restore or healthy data; pair it with restore tests.

Read More
Database status.

SQL SERVER – 2005 – Find Database Status Using sys.databases or DATABASEPROPERTYEX

August 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server DBCC, SQL System Table, SQL Utility

Find database status such as ONLINE, OFFLINE, RESTORING or SUSPECT using sys.databases or DATABASEPROPERTYEX, and learn what each status means.

Read More
SQL SERVER - 2005 - Explanation and Script for Online Index Operations - Create, Rebuild, Drop

SQL SERVER – 2005 – Explanation and Script for Online Index Operations – Create, Rebuild, Drop

August 17, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server DBCC

What are online index operations? SQL Server 2005 Enterprise Edition can create, rebuild and drop indexes without locking tables, and I explain how.

Read More
Previous 1 … 10 11 12 13 14 15 16 Next
  • Books
  • Testimonials
  • Privacy Policy

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