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
A tractor at a field gate with an empty seat, a hand reaching up for its red steering wheel

SQL SERVER – FIX: Error – The Job Failed. Unable to Determine If The Owner Domain\User of Job Job_Name Has Server Access

August 20, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

A SQL Agent job failed with: The job failed. Unable to determine if the owner of the job has server access. Here is how I fixed this error in my lab.

Read More
A wall with torn strips of old wallpaper still clinging, a red-handled scraper below

SQL SERVER – Unable to Remove Replication Publication – Could not Delete the Subscription at Subscriber ‘SubServer’ in Database ‘SubDB’

August 18, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Replication, SQL Scripts, SQL Server

On my broken replication lab, removing a publication failed with: Could not delete the subscription at Subscriber ‘SubServer’. Here is the command that fixed it.

Read More
Gouache painting of a giant vermilion pumpkin squeezed onto a small pantry shelf among little jars

Huge Transaction Log File in SQL Server: Find the Cause

August 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Scripts, Transaction Log

A huge transaction log file has a named reason in log_reuse_wait_desc. This post builds a small demo database, reads that reason, backs up the log and finds the open transaction that holds it. It ends with a one time shrink and a safe growth step.

Read More
Magnifying glass, document with red cross.

SQL SERVER – Error: 17300 – The Error is Printed in Terse Mode Because There was Error During Formatting

August 16, 2018
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages, SQL Scripts, SQL Server

SQL SERVER – Error: 17300 – The Error is Printed in Terse Mode Because There was Error During Formatting. Let us fix that in this blog.

Read More
Gouache painting of three bowls of seeds beside a mixing bowl with a vermilion wooden spoon

Random Password Procedure in SQL Server with CRYPT_GEN_RANDOM

August 15, 2018
Pinal Dave
SQL Tips and Tricks
SQL Password, SQL Random, SQL Scripts, SQL Server Security, SQL Stored Procedure

A random password procedure for SQL Server should use CRYPT_GEN_RANDOM, skip lookalike characters and guarantee every kind of character. This post builds one with a length and character switches, then tests 1,000 passwords. It also covers errors and safe handling.

Read More
Gouache painting of a basket holding one vermilion pear beside a full crate of pears

SELECT COUNT Without FROM Returns 1, Not an Error

August 13, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

A SELECT COUNT without FROM does not fail in T-SQL. It returns 1, because the table name after COUNT(*) becomes a column alias. This post shows the typo, the other silent mistakes that work the same way, and the habits that make them fail loudly.

Read More
An ink brayer leaving a new continuous track while earlier linen stays clean

Recording Who Granted What With a Database Audit Specification

August 11, 2018
Pinal Dave
SQL Tips and Tricks
Shrinking Database, Spatial Database, SQL Sample Database, System Database

Current permissions never say who changed them. Set up a small audit, run a grant, a revoke and a failed attempt, and read the events back.

Read More
Previous 1 … 105 106 107 108 109 110 111 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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