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
ALTER INDEX ALL REBUILD.

SQL SERVER – Understanding ALTER INDEX ALL REBUILD with Disabled Clustered Index

May 12, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

What does ALTER INDEX ALL REBUILD do when the clustered index is disabled, compared to rebuilding just that index? A step by step demo shows it.

Read More
A sealed wooden crate standing alone on a dock with no label on any face.

SQL SERVER – Spatial Database Queries – What About BLOB

May 11, 2010
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Datatype, SQL Scripts, SQL Server

Spatial database queries are my favorite subject since TechEd India 2010. Here are the scripts to build the environment, plus a question: what about BLOB?

Read More
A long cord of wooden beads tied to a brass ring, every seventh bead red, a fingertip on the first

Finding the First Monday of Every Month in T-SQL

May 8, 2010
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Calculate the first Monday without DATEFIRST, list a full year, find nth and last weekdays, and reuse the rules in an inline table function.

Read More
A nested set of copper measuring cups on a hook, with one stray cup from a different set lying on the counter below.

Where Reference Data Should Live

May 7, 2010
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Master Data Services, SQL Constraint and Keys, SQL Server

Reference data belongs in governed lookup tables with stable codes, clear owners, and a release process that keeps environments aligned.

Read More
A brass balance scale on a market stall weighing a heap of vegetables against a stack of plain iron weights.

Estimating Cloud Database Cost From Your Workload

May 6, 2010
Pinal Dave
SQL Tips and Tricks
Cloud Computing, SQL Azure, SQL Licensing, SQL Migration

Cloud database cost depends on measured compute, storage, backup retention, and network egress; build a workload-based estimate before migrating.

Read More
SQL SERVER - Get Latest SQL Query for Sessions - DMV

SQL SERVER – Get Latest SQL Query for Sessions – DMV

May 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts

Want the latest SQL query for sessions on your server? Join sys.dm_exec_connections with sys.dm_exec_sql_text using most_recent_sql_handle.

Read More
SQL SERVER - SHRINKFILE and TRUNCATE Log File in SQL Server 2008

SQL SERVER – SHRINKFILE and TRUNCATE Log File in SQL Server 2008

May 3, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

A reader’s job failed after upgrading to SQL Server 2008 because TRUNCATE_ONLY is gone. My notes on SHRINKFILE and TRUNCATE Log File, and what to watch for.

Read More
Previous 1 … 435 436 437 438 439 440 441 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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