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
Kill Processes Idle.

How to Kill Processes Idle for X Hours? – Interview Question of the Week #152

December 17, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Connection, SQL Cursor, SQL Scripts, SQL Server, System Object

Interview question: how to kill processes idle for X hours in SQL Server? Here is a script that finds idle sessions and kills them.

Read More
Spid, kpid, and ecid for SQL Server sysprocesses.

SQL SERVER – Difference Between spid, kpid and ecid in sysprocesses

August 11, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, System Object

What is the difference between spid, kpid and ecid in sysprocesses? Here is what each of these three columns means, with a simple query to see them.

Read More
SELECT statement for object_id.

SQL SERVER – How to Build Three Part Name from Object_ID – Part 2?

August 8, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, System Object

Rin Sitah replied to my interview question with a neat alternative way to build three part name from Object_ID using sys.objects and sys.schemas.

Read More
SQL Server Object IDs.

How to Build Three Part Name from Object_ID? – Interview Question of the Week #134

August 6, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, System Object

If you only have an object_id, can you get the database, schema and object name? Here is a simple script that builds the Three Part Name from Object_ID.

Read More
SQL Server sysmail_configuration table.

SQL SERVER – sp_readrequest – Long Running Process

March 20, 2017
Pinal Dave
SQL Performance
Database Mail, SQL Scripts, SQL Server, System Object

sp_readrequest kept showing up as a long running procedure. It is Database Mail waiting on its queue with a 600 second timeout, usually nothing to worry about.

Read More
Architect desk with a lamp and a master blueprint on the wall

What is a Master Database in SQL Server? – Interview Question of the Week #076

June 19, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Server, System Object

A reader told me he had dropped his master database. So here is the basic question: what is a master database in SQL Server, and why does it matter?

Read More
SQL SERVER - System Objects Not Visible in SQL Server Management Studio

SQL SERVER – System Objects Not Visible in SQL Server Management Studio

June 8, 2016
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, System Object

Why were system objects not visible in SSMS 2016 when SSMS 2014 showed them on the same instance? A client asked me, and here is the answer.

Read More
Previous 1 2
  • Books
  • Testimonials
  • Privacy Policy

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