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
SQL SERVER - 2008 - New DataTypes DATE and TIME

SQL SERVER – 2008 – New DataTypes DATE and TIME

December 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts

SQL Server 2008 adds separate DATE and TIME datatypes, something DBAs wanted for years. I compare them with the SQL Server 2005 way of using DATETIME.

Read More
SQL SERVER - Difference Between Index Rebuild and Index Reorganize Explained with T-SQL Script

SQL SERVER – Difference Between Index Rebuild and Index Reorganize Explained with T-SQL Script

December 22, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Index Rebuild drops and recreates the index, while Index Reorganize reorders the leaf nodes. Rebuild above 40% fragmentation, reorganize between 10% and 40%.

Read More
Indexes tab in SQL Server object explorer.

SQL SERVER – Enabling Clustered and Non-Clustered Indexes – Interesting Fact

December 21, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

When enabling clustered and non-clustered indexes, order matters: enabling the clustered index does not enable the others, but rebuilding all indexes does.

Read More
SQL SERVER - DISTINCT Keyword Usage and Common Discussion

SQL SERVER – DISTINCT Keyword Usage and Common Discussion

December 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts

Can you apply the DISTINCT keyword to only one column in a SELECT? No, it always applies to all the columns. I explain why and get the same result with GROUP BY.

Read More
SQL SERVER - Get Information of Index of Tables and Indexed Columns

SQL SERVER – Get Information of Index of Tables and Indexed Columns

December 18, 2007
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

sp_helpindex is a handy stored procedure that shows every index on a table, its description and the indexed columns. One line of T-SQL does it.

Read More
Tempdb patch information.

SQL SERVER – T-SQL Script to Find Details About TempDB Information

December 17, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB

An old but reliable T-SQL script I use to check TempDB Information: file names, size in MB, autogrowth status and the growth setting of each file.

Read More
SQL SERVER - FIX : Error : 3702 Cannot drop database because it is currently in use.

SQL SERVER – FIX : Error : 3702 Cannot drop database because it is currently in use.

December 7, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts

Error 3702 says you cannot drop database because it is in use. Switch to master, find other connections and drop it safely with this fix.

Read More
Previous 1 … 298 299 300 301 302 303 304 … 336 Next
  • Books
  • Testimonials
  • Privacy Policy

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