Skip to main content

Database Integrity and Optimization

  • Chapter
Book cover SQL Server 2008 Transact-SQL Recipes
  • 805 Accesses

Abstract

In the previous chapter, I showed you how to create, configure, modify, and drop a database. In this chapter, I’ll show you how tomaintain your database using the Transact-SQL language, including ways to use the ALTER INDEX command for rebuilding or defragmenting indexes and DBCC commands for helping identify database integrity problems. I’ll also demonstrate a new technique introduced in SQL Server 2008 for rebuilding a heap (a table without a clustered index).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Joseph Sack

About this chapter

Cite this chapter

(2008). Database Integrity and Optimization. In: SQL Server 2008 Transact-SQL Recipes. Apress. https://doi.org/10.1007/978-1-4302-0625-5_23

Download citation

Publish with us

Policies and ethics