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
Different service keys and blank colored fobs hang above separate locks

How to Find Service Account for SQL Server and SQL Server Agent? – Interview Question of the Week #179

June 24, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Log, SQL Scripts, SQL Server, SQL Server Security, SQL Server Services

How do you find the Service Account for SQL Server and SQL Server Agent? Here are three ways: Configuration Manager, services.msc, and a T-SQL query.

Read More
Loom stations have different amounts of waiting work in their baskets

How Much Work Each Processor (CPU) is Doing in SQL Server? – Interview Question of the Week #178

June 17, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL CPU, SQL DMV, SQL Scripts, SQL Server

A client with 56 processors saw CPU always high and wanted to know how busy each one was. Here is a simple DMV query that shows work per Processor (CPU).

Read More
Several similar sparrows and one different bird gather at a feeder

How to Find Cardinality or Uniqueness for any Column? – Interview Question of the Week #177

June 10, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server

What is Cardinality, and how do you find it for a column? This simple script shows the percentage of unique values, using an AdventureWorks table.

Read More
A missing file in an archive leaves a trail to an audit record

How to Enable Files & Folders Level Auditing in SQL Server? – Interview Question of the Week #176

May 31, 2018
Pinal Dave
SQL Interview Questions and Answers
Policy Management, SQL Audit, SQL Error Messages, SQL Server, SQL Server Security, Transaction Log

Files kept vanishing from a client’s SQL Server Binn folder. SQL Server cannot track that, so here is how to enable Files and Folders Level Auditing in Windows.

Read More
A caught error leaves a red mark in a bound log

How to Write Errors in Error Log? – Interview Question of the Week #175

May 27, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Log, SQL Server

How to write errors in Error Log? A customer asked this in my performance tuning workshop, and here is how to add your own messages to the SQL Server log.

Read More
Seed clusters grow outward into a cumulative spiral

How to Generate Fibonacci Series for the First 1000 Values? – Interview Question of the Week #174

May 20, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

How to generate Fibonacci series for the first 1000 values? Most answers online stop near 70 or 80 values because the numbers get too big. Here is mine.

Read More
The newest sealed backup jar stands before older archives with a measuring ribbon

How to Find Last Full Backup Time and Size for Database? – Interview Question of the Week #173

May 13, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

Too many DBAs I meet have no recent backup. Here is a script that shows when each database had its last Full Backup and how big that backup was.

Read More
Previous 1 … 16 17 18 19 20 21 22 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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