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 - FIX: Error 1807 Could not obtain exclusive lock on database 'model'. Retry the operation later – Part 2

SQL SERVER – FIX: Error 1807 Could not obtain exclusive lock on database ‘model’. Retry the operation later – Part 2

May 25, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Msg 1807, could not obtain exclusive lock on database ‘model’, still shows up in SQL Server 2016. Here is another cause of Error 1807 and how to fix it.

Read More
PowerShell - Querying SQL Server From Command Line

PowerShell – Querying SQL Server From Command Line

May 24, 2016
Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, SQL Scripts, SQL Server

A client’s deployment scripts got me curious about PowerShell. Here is how to start querying SQL Server from the command line with a PowerShell script.

Read More
SQL SERVER - What is Trace Flag - An Introduction

SQL SERVER – What is Trace Flag – An Introduction

May 23, 2016
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, TraceFlags

What is a trace flag, how do you turn one on, and how do you keep it after a restart? A beginner’s introduction, including the startup parameter option.

Read More
Separate locked stone buildings hold tools and keys on opposite sides of a small courtyard

SQL Domain Controller – Interview Question of the Week #072

May 22, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Domain Controller, SQL Server

SQL domain controller questions: can SQL Server run on one? Five interview answers, checked against Microsoft’s current guidance, one corrected.

Read More
SQL Server 2016 - Introducing AutoGrow and Mixed_Page_Allocations Options - TraceFlags

SQL Server 2016 – Introducing AutoGrow and Mixed_Page_Allocations Options – TraceFlags

May 21, 2016
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2016, TraceFlags

A reader asked if trace flags 1117 and 1118 work for user databases. SQL Server 2016 turns them into the AutoGrow and Mixed_Page_Allocations options.

Read More
Rubber curry comb with hairs in some spaces and empty spaces retained

Counting Partitions per Table and Spotting Empty Ones

May 20, 2016
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

A quick count said 8 partitions, but the table has 4. Here is where the extra rows came from and how to spot empty partitions.

Read More
SQL SERVER - Handling XML Documents - Notes from the Field #125

SQL SERVER – Handling XML Documents – Notes from the Field #125

May 19, 2016
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server, SQL Server Security, SQL XML

Stuart Ainsworth shares a client case of importing XML documents into a staging table and what he learned about using XQuery methods in SQL Server.

Read More
Previous 1 … 325 326 327 328 329 330 331 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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