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 combined glass-cutting tool beside separate scoring and breaking tools

MERGE Performance for Large Upserts: UPDATE Then INSERT Instead

December 21, 2012
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server

Is MERGE really slow, or did the rewrite just run on a quiet night? Here is a fair test you can run yourself.

Read More
Getdate with currenttimestamp comparison.

SQL SERVER – Difference Between CURRENT_TIMESTAMP and GETDATE() – CURRENT_TIMESTAMP Equivalent in SQL Server

December 20, 2012
Pinal Dave
SQL Tips and Tricks
SQL DateTime

Is there a difference between CURRENT_TIMESTAMP and GETDATE()? No. One is ANSI SQL and the other is the T-SQL version, and both return the same value.

Read More
Gouache painting of a wooden pantry shelf with a row of identical cream jars, three of them crowded together and only one wearing a vermilion lid.

Delete Duplicate Records in SQL Server: SQL in Sixty Seconds #036

December 19, 2012
Pinal Dave
SQL Video
Duplicate Records, SQL Delete, SQL in Sixty Seconds, SQL Index

To delete duplicate records safely, look at them first. The tests here find the duplicates, preview the rows that will go, delete all but the newest copy inside one transaction and add a unique index so they cannot return. Every query ran on SQL Server 2025.

Read More
Chart of three SQL Server backup plans side by side: Full, Full plus Differential, and Full plus Differential plus Transaction Log, with the pros, cons and recovery model of each

Optimal Backup Methods: Full, Differential and Log Plans Compared

December 18, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, Transaction Log

How to pick the optimal backup methods for your server: choose a recovery model first, then compare Full, Differential and Transaction Log backup plans. The chart lists the pros and cons of each.

Read More
A knitted cardigan buttoned neatly, a hand at the hem showing every button is one hole off.

Writing T-SQL With an AI Assistant: What to Check Before You Run It

December 17, 2012
Pinal Dave
SQL Tips and Tricks
AI, Best Practices, SQL Scripts, SQL Server

Review T-SQL from an AI assistant for real columns, safe writes, index access, date boundaries, isolation, and rollback tests.

Read More
Gouache painting: a small meeting room with a front row of five chairs facing an empty lectern, one chair vermilion

SQL Bangalore: The First SQL Server User Group Meeting

December 16, 2012
Pinal Dave
SQLAuthority News
Professional Development, SQL Training, SQL User Group

SQL Bangalore, our new SQL Server user group, held its first meeting on November 24, 2012. We had five 30 minute sessions, a surprise guest from Mumbai and an international guest from the USA. Here is my report, with photographs.

Read More
Four ants carrying crumbs, the last one far behind under a huge red crumb

Uneven Parallelism: Spotting Skewed Threads Behind CXPACKET Waits

December 15, 2012
Pinal Dave
SQL Performance
Execution Plan, MAXDOP, Parallel, SQL Wait Stats

Diagnose uneven parallelism by comparing CXPACKET and CXCONSUMER with per-thread row counts in plans and live query profiles.

Read More
Previous 1 … 511 512 513 514 515 516 517 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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