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
Alternative to dbcc inputbuffer.

SQL SERVER – Alternative to DBCC INPUTBUFFER – sys.dm_exec_input_buffer

September 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC

DBCC INPUTBUFFER shows very little. In SQL Server 2016, the new sys.dm_exec_input_buffer function gives far more details about the last statement sent.

Read More
A red bead on a progress rail with coarse and fine reporting intervals

What does Keyword STATS Indicates in Backup Scripts in SQL Server? – Interview Question of the Week #138

September 3, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

Many DBAs add STATS to their Backup Scripts without knowing why. It prints percent complete messages while the backup runs. Here is how it works.

Read More
Gouache painting of a violin lying in an oversized cello case beside an empty vermilion violin case

Rename MDF File Extension in SQL Server, Step by Step

September 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Windows

To rename MDF file extension values safely, take the database offline, tell SQL Server the new file name, rename the file on disk, and bring the database online. This post walks through the four steps on a demo database. It also explains the RECOVERY_PENDING state you see when the two names don’t match.

Read More
SSMS Installation Help.

SQL SERVER – How to Install SQL Server Management Studio (SSMS) From Command Line?

September 1, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio

Want to install SQL Server Management Studio silently from the command line, say with SCCM? Here is the one line batch command I shared with a reader.

Read More
SQL SERVER - Error: 8509 - Import of Microsoft Distributed Transaction Coordinator (MS DTC) transaction failed: 0x8004d00e(XACT_E_NOTRANSACTION)

SQL SERVER – Error: 8509 – Import of Microsoft Distributed Transaction Coordinator (MS DTC) transaction failed: 0x8004d00e(XACT_E_NOTRANSACTION)

August 30, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Transactions

A client’s JDBC XA transactions failed with Error 8509: import of MS DTC transaction failed (XACT_E_NOTRANSACTION). Here is what we checked and how we fixed it.

Read More
Get wait stats related session id.

SQL SERVER – Get Wait Stats Related to Specific Session ID With sys.dm_exec_session_wait_stats

August 28, 2017
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Server 2016, SQL Wait Stats

From SQL Server 2016, sys.dm_exec_session_wait_stats shows wait stats for a specific session ID. Here is how to use it, and why it fails on older versions.

Read More
Two plant trellises begin at different points, so an early flower is outside the shorter one

What is the Biggest Limitation of ISDATE() Function? – Interview Question of the Week #137

August 27, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL DateTime, SQL Function, SQL Server

Why does ISDATE(‘6666-04-30’) return 1 but ISDATE(‘1111-04-30’) return 0? Here are what I see as the two biggest limitations of the ISDATE() function.

Read More
Previous 1 … 157 158 159 160 161 162 163 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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