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
Title card: Always On Listener Creation Failed With Error 5

SQL SERVER – Always On Listener Creation Failure – Enabling Object ProdListener Failed With Error 5

February 8, 2020
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Server, SQL Server Cluster, Windows

I have written a few blogs where I explained a few issues about the failure of listener creation failure in a cluster. Let us learn about it.

Read More
A lacrosse stick transferring a ball from an unused basket toward an active basket

Counting Ranked-Choice Votes With a Loop and a Table

February 6, 2020
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Four people rank three topics and nobody has a majority. Here is a small loop that eliminates the weakest topic, moves its ballots and logs every round.

Read More
Gouache painting of a garden bed with many small seedlings and a wicker basket holding pulled ones

DROP STATISTICS Script: Remove Auto-Created Statistics

February 4, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Statistics, SQL System Table

A DROP STATISTICS script can remove every auto-created statistic in a database, and SQL Server builds the useful ones again on demand. This post previews the statements, runs them behind a switch and shows what happens to the next query. It also says when the cleanup helps.

Read More
A library trolley carrying a small stack of old books toward a basement stairway, a gap left on the shelf.

Archiving Old Rows to a History Table in Small Batches

February 3, 2020
Pinal Dave
SQL Tips and Tricks
Batch, Output Clause, SQL Delete, SQL Server, SQL Transactions

Make archiving old rows atomic with DELETE OUTPUT, preserved source identifiers, bounded batches, reconciliation, and a job time limit.

Read More
A flowerpot tipped back beside a cottage front door, showing a spare house key hidden underneath.

Connection Strings Explained: Encrypt, TrustServerCertificate and Timeouts

February 1, 2020
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Server, SQL Server Encryption, SQL Server Security

Explain TrustServerCertificate, encryption modes, connection and command timeouts, listener failover, and server-side connection evidence.

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
Previous 1 … 59 60 61 62 63 64 65 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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