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 - System Function @@IDLE to Find System Ideal Time

SQL SERVER – System Function @@IDLE to Find System Ideal Time

November 26, 2016
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Running @@IDLE returns a number that is hard to read. Here is what this system function measures and how to turn it into idle time you can understand.

Read More
Gouache painting of an overflowing mailbox on a country lane with a red wheelbarrow waiting to carry away the old parcels

How to Remove Database Mail History and Stop msdb Growing

November 25, 2016
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Scripts, SQL Server, System Database

Database Mail history stays in msdb until you delete it, so the sysmail tables can grow for years. This post measures the tables, then removes the history with the two supported procedures instead of direct deletes. It also covers a month by month loop for a big backlog and a schedule.

Read More
A hotel back-office bell board of small numbered brackets, one bracket empty where a bell has been taken out.

SQL SERVER – Rule “Windows Management Instrumentation (WMI) Service” failed

November 24, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Starting SQL, WMI

Upgrading a two-node cluster from SQL 2008 R2 to 2014, the rule ‘Windows Management Instrumentation (WMI) Service’ failed. Here is how we fixed it.

Read More
SQL SERVER - Msg 19062, Level 16, State 1. Could Not Create a Trace File. Error = 0x80070005

SQL SERVER – Msg 19062, Level 16, State 1. Could Not Create a Trace File. Error = 0x80070005

November 23, 2016
Pinal Dave
SQL Tips and Tricks

A stored procedure calling sp_trace_create failed with Msg 19062, could not create a trace file, Error 0x80070005. Here is what that code means and the fix.

Read More
Specified network name error cmd error.

SQL SERVER – Database Mirroring Error -The Specified Network Name is No Longer Available

November 22, 2016
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Error Messages, SQL Server

A client’s ERRORLOG showed database mirroring error 1474, ‘The specified network name is no longer available’. The cause was outside SQL Server.

Read More
SQL SERVER - Best Practices About SQL Server Service Account and Password Management

SQL SERVER – Best Practices About SQL Server Service Account and Password Management

November 21, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Password, SQL Server, SQL Server Security, Starting SQL

Should the SQL Server Service Account be a local or domain admin? No. Best practices from a client Q&A on service accounts, permissions and passwords.

Read More
Three short marble runs have finished while one marble remains on a longer winding run

How to Find Longest Running Query With Execution Plan – Interview Question of the Week #098

November 20, 2016
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server, SQL Server Management Studio

How do you find the longest running query with execution plan in SQL Server? Here is a quick DMV query that returns the top 10 along with their plans.

Read More
Previous 1 … 293 294 295 296 297 298 299 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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