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
EXEC sp_who2.

SQL SERVER – 5061: FIX Error: ALTER DATABASE failed because a lock could not be placed on database ‘Database Name’. Try again later.

November 27, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Monitoring, SQL Scripts, SQL Server

Trying to take a test database offline, we hit Msg 5061: ALTER DATABASE failed because a lock could not be placed on database. Here is how to fix it.

Read More
errorole

SQL SERVER – OLE DB Provider ‘Microsoft.ACE.OLEDB.12.0’ for Linked Server ‘(null)’ Returned Message ‘Unspecified Error’

November 26, 2018
Pinal Dave
SQL Tips and Tricks
Excel, Linked Server, SQL Error Messages, SQL Scripts, SQL Server

Reading Excel through OPENROWSET failed: the OLE DB provider for linked server (null) returned message ‘Unspecified error’. Here is how I fixed it.

Read More
A common watering pipe feeds three matching plant pots together

How to Grow All Files in a File Group Equally? – TRACE FLAG 1117 – Interview Question of the Week #201

November 25, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Data Storage, SQL Scripts, SQL Server, SQL TempDB, TraceFlags

How do you grow all files in a file group equally? The answer is Trace Flag 1117, plus the AutoGrow option that SQL Server 2016 brought for filegroups.

Read More
An old fireplace buried in years of gray ash, a small shovel and an empty red ash bucket beside it

SQL SERVER – Huge Size of SSISDB – Catalog Database SSISDB Cleanup Script

November 24, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Encryption, SSIS

SSISDB grew huge on a client’s server. Here is my cleanup script for the SSISDB catalog database, and why I avoid scripts that modify system objects.

Read More
Gouache painting of dents in snow and boot prints leading away to a vermilion sled

Schema Changes History Report: See Who Dropped a Table

November 23, 2018
Pinal Dave
SQL Tips and Tricks
Schema, SQL Reports, SQL Scripts, SQL Server Security

The Schema Changes History report shows who created, altered or dropped a table. This post reads the same default trace with T-SQL, tests it on a table and a database drop, and explains the limits: file rollover and shared logins. It ends with ways to keep the history longer.

Read More
Many small loose bundles of wheat on a barn floor around one tall sheaf tied in red.

Columnstore Rowgroup Health: Finding Small and Open Rowgroups

November 22, 2018
Pinal Dave
SQL Performance
ColumnStore Index, SQL DMV, SQL Index, SQL Server

Inspect columnstore rowgroup health, understand small and deleted groups, and choose reorganize or rebuild from measured evidence.

Read More
A laden plum tree with a tiny bowl at its foot and a large red crate beside it.

Multi-Statement Table-Valued Functions and Interleaved Execution

November 21, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server 2017

See how interleaved execution corrects estimates for multi-statement table-valued functions and when an inline rewrite wins.

Read More
Previous 1 … 193 194 195 196 197 198 199 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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