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 - TRUNCATE Can't be Rolled Back Using Log Files After Transaction Session Is Closed

SQL SERVER – TRUNCATE Can’t be Rolled Back Using Log Files After Transaction Session Is Closed

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

Can TRUNCATE be rolled back? Inside an open transaction yes, but once the session is closed TRUNCATE can’t be rolled back using log files, while DELETE can.

Read More
SQL SERVER - Mirrored Backup Introduction and Explanation

SQL SERVER – Mirrored Backup Introduction and Explanation

December 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

SQL Server 2005 Enterprise and Developer editions support mirrored backup: one BACKUP DATABASE command with MIRROR TO writes the same backup to two places.

Read More
SQL SERVER - Delete Duplicate Records - Count Duplicate Records Links

SQL SERVER – Delete Duplicate Records – Count Duplicate Records Links

December 25, 2007
Pinal Dave
SQL Tips and Tricks

Two of my articles on managing duplicate rows: how to count duplicate records and how to delete duplicate records in SQL Server tables.

Read More
SQL SERVER - Object Oriented Database Management Systems

SQL SERVER – Object Oriented Database Management Systems

December 24, 2007
Pinal Dave
SQL Tips and Tricks
Database, DBA, Software Development

Why I do not write about Object Oriented Database Management Systems, and a paper by Dare Obasanjo that explains OODBMS and its tradeoffs versus RDBMS.

Read More
Hands releasing a carrier pigeon from a rooftop loft at dawn, with a distant empty loft waiting across the roofs

Setting Up Database Mail for Alerts

December 24, 2007
Pinal Dave
SQL Tips and Tricks
Database Mail, DBA, SQL Server Agent, SQL Server Configuration

Setting up Database Mail for alerts means creating an account and profile, testing delivery, linking Agent, and checking the queue when mail stops.

Read More
A soil sieve over a wheelbarrow, fine soil fallen through while stones and roots stay caught on the mesh.

Check Constraints That Enforce Business Rules

December 24, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Constraint and Keys, SQL NULL, SQL Server

Check constraints keep row rules inside SQL Server, but NULL behavior and trusted status determine how much protection they provide.

Read More
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
Previous 1 … 543 544 545 546 547 548 549 … 588 Next
  • Books
  • Testimonials
  • Privacy Policy

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