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
Dtc Properties.

SQL SERVER – Msg 1206, Level 18, State 118 – The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction

November 6, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 1206 says MS DTC has cancelled the distributed transaction. A user group member hit it over a linked server, and the real cause taught me something new.

Read More
Database id 7 allocation unit_id 72057940501050814.

SQL SERVER – Table Space Allocation Details using DMV

November 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

Beyond DBCC IND and EXTENTINFO, the DMV dm_db_database_page_allocations shows table space allocation details. My friend Balmukund pointed me to it.

Read More
A man laughing.

SQL SERVER – Using Bitwise And (&) Instead of a Junction Table – Notes from the Field #053

November 5, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

Stuart Ainsworth shows a cool trick: using Bitwise And (&) instead of a junction table to get more performance with fewer code changes.

Read More
helpbutton

SQL SERVER – Unable to Restore From Backup After Detach Operation

November 4, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A young guy came to me and said – “I found a bug in SQL Server Restore”. How to fix Unable to Restore From Backup After Detach Operation.

Read More
Restart-Service PowerShell command in Notepad++.

SQL SERVER – PowerShell way of Restarting SQL Server Service

November 3, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell

Restarting SQL Server service with PowerShell is one line, and it is wrong on a named instance. The right name, -Force, and when it is really up.

Read More
A bowl of identical red keys by a front door, a guest's hand taking one

Linked Server Logins: Stop Mapping Everyone to sa

November 3, 2014
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Login, SQL Server, SQL Server Security

Audit linked server logins for blanket remote sysadmin mappings, test with a low-privilege identity, and replace broad access safely.

Read More
SQL SERVER - What are my Trace Flags Enabled on SQL Server?

SQL SERVER – What are my Trace Flags Enabled on SQL Server?

November 2, 2014
Pinal Dave
SQL Tips and Tricks
SQL Server, TraceFlags

A DBA friend wanted to see the trace flags enabled on his production servers. Here is how to find them easily, and a word of caution about using them.

Read More
Previous 1 … 258 259 260 261 262 263 264 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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