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
Corks pass a waterwheel in a steady stream, illustrating throughput

How to Measure Transactions Per Seconds in SQL Server? – Interview Question of the Week #262

February 2, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server, SQL Transactions, Windows

Question: How to Measure Transactions Per Seconds in SQL Server?
I have updated the script for this for Comprehensive Database Performance Health Check.

Read More
Gouache painting of a row of hourglasses of different sizes on a windowsill, some with vermilion sand and some with pale sand

SQL Job Schedules: Read Every Schedule in Plain English

January 31, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Agent, System Database

SQL job schedules are stored as codes, and even the built-in description shows a time such as 60000. This post builds four demo jobs with five schedules and decodes every one with a single query. It also shows shared schedules, disabled schedules and jobs with no schedule at all.

Read More
Gouache painting of a row of garden plots each with its own tool leaning beside it, one rake vermilion

List All Jobs With Owners in SQL Server Agent

January 30, 2020
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server Agent, SQL Server Security

To list all jobs with owners, read the job table in msdb and resolve each owner with a join that keeps jobs without a login. This post builds four demo jobs, shows how a common query hides one of them, and reassigns jobs safely. It ends with a cleanup script.

Read More
Gouache painting of small round cafe tables on a stone terrace, two sage and one vermilion, with a stack of chairs by the shed door

TempDB Metadata Tables: Check, Enable and Count Them

January 29, 2020
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Scripts, SQL Server 2019, SQL Server Configuration, SQL TempDB

The tempdb metadata tables can live in memory, and four short steps tell you whether yours do. This post checks the setting, shows how to turn it on and off, and counts the tables SQL Server moves. It also says when the feature is worth a restart.

Read More
Gouache painting of a wooden music box with a long vermilion perforated paper strip curling down to the floor

Additional Logging for SQL Server Agent: Three Methods

January 28, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Scripts, SQL Server Agent

Additional logging for SQL Server Agent means raising the Agent error log level, so the Agent writes more lines about its own work. This post reads the current level, changes it with T-SQL and restores it in the same script, and shows the Management Studio and registry routes.

Read More
Gouache painting of a grid of pale blue mosaic tiles in a wooden frame with one vermilion tile

Display Rupee Symbol in SSMS and T-SQL With FORMAT

January 27, 2020
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server Management Studio, Unicode

To display rupee symbol and Indian digit grouping in SSMS, format the number with an Indian culture, or use the Unicode character 8377. This post compares en-IN, hi-IN, gu-IN and kn-IN, shows the nvarchar rule that keeps the symbol from turning into a question mark, and formats dates for the same cultures.

Read More
A flock gathered at a gate gives a concrete scene for counting a collection

What are Different Methods to Know the Row Count of Table? – Interview Question of the Week #261

January 26, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Counter, SQL DMV, SQL Scripts, SQL Server, SQL Server Management Studio, SQL System Table

Question: What are Different Methods to Know the Row Count of Table? The answer to this question is very simple and many.

Read More
Previous 1 … 48 49 50 51 52 53 54 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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