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
System.OutOfMemoryException' thrown dialog box.

SQL SERVER Management Studio – Exception of type ‘System.OutOfMemoryException’ was thrown. (mscorlib)

February 9, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Memory, SQL Server

Copying a huge result set from the SSMS grid threw ‘Exception of type System.OutOfMemoryException was thrown’. Why it happens and a better way to export.

Read More
SQL Server sp_spaceused window.

SQL SERVER – Puzzle – Why does sp_spaceused Show No Values?

February 8, 2017
Pinal Dave
SQL Puzzle
SPARSE Columns, SQL Scripts, SQL Server

Why does sp_spaceused show no values for a table that clearly has rows? It stumped me for 10 minutes. Here is the puzzle, try it before reading on.

Read More
A shipping crate whose lid has been opened to show that the packing inside does not match the shape of the crate.

SQL SERVER – The header for file Path is not a valid database file header. The PageAudit property is incorrect

February 7, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Server, Starting SQL

SQL Server would not start: model.mdf did not have a valid database file header and the PageAudit Property was incorrect. How I got it running again.

Read More
6.3 os info sql.

SQL SERVER – SQL Server: Getting OS information using DMV

February 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

Need the Windows version SQL Server runs on? Get OS information with the sys.dm_os_windows_info DMV, or read it from the ERRORLOG at startup.

Read More
One sewing tool makes a new seam while another refreshes a worn seam

How to Enable Auto Update Statistics and Auto Create Statistics with T-SQL – Interview Question of the Week #108

February 5, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Statistics

Question: How to Enable Auto Update Statistics and Auto Create Statistics? Let us learn how we can fix that in today’s blog post.

Read More
Gouache painting of two blue database towers joined by a broken copper connection

Database Mirroring Connection Error 4: An Error Occurred While Receiving Data 10054

February 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Mirroring, SQL Server Security

A database mirroring connection error needs evidence from both ends of the connection. In a 2017 Azure case, the clue was a missing CONNECT permission on the endpoint. I tested the endpoint queries on SQL Server 2025 with a scratch endpoint, a grant, a deny and a stopped endpoint.

Read More
SQL SERVER - Error: 566, Severity: 21 - An Error Occurred While Writing an Audit Trace. SQL Server is Shutting Down

SQL SERVER – Error: 566, Severity: 21 – An Error Occurred While Writing an Audit Trace. SQL Server is Shutting Down

February 3, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Starting SQL

SQL Server shut itself down with error 566: an error occurred while writing an audit trace. Here is what the ERRORLOG showed and how to fix it.

Read More
Previous 1 … 282 283 284 285 286 287 288 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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