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
Gouache painting of a shut boat shed door with a padlock and a red key on a hook beside it

Operating System Error 5 on Backup: Fix Access Denied

December 10, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server Security, SQL Server Services

Operating system error 5 means Windows refused the SQL Server service account access to a backup folder. This post reproduces the error, shows how to find the account with a query, grants the permission, and explains the look-alike errors for missing paths and mapped drives.

Read More
SQL Server Management Studio query window with SQL code.

SQL SERVER – List the Name of the Months Between Date Ranges

December 9, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

How do you list the name of the months between date ranges? A friend and former co-worker sent me this script using DATENAME and DATEADD.

Read More
SQL SERVER -Fix Error - Cannot open backup device. Operating system error 5(Access is denied.)

SQL SERVER -Fix Error – Cannot open backup device. Operating system error 5(Access is denied.)

December 8, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Fix the backup error Cannot open backup device, Operating system error 5, Access is denied: common causes and the solution that worked for me.

Read More
Odd week is highlighted.

SQL SERVER – Finding if Current Week is Odd or Even – Script

December 7, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

A bank DBA needed a script to tell if the current week is odd or even, to keep more cash on the 2nd and 4th weeks. Here is the script I use.

Read More
SQL SERVER - Reverse String Word By Word

SQL SERVER – Reverse String Word By Word

December 6, 2014
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

A reader wanted to reverse string word by word, so “I am Pinal Dave” becomes “Dave Pinal am I”. Here is the function that does it.

Read More
Stop SQL Server dialog box.

SQL SERVER – FIX: Error 5161 – An Unexpected file id was Encountered

December 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

While building a tempdb demo, SQL Server would not start and ERRORLOG showed Error 5161, an unexpected file id was encountered. I explain what caused it.

Read More
OleDb Destination Editor.

SQL SERVER – The Basics of the SSIS Data Flow Task – Notes from the Field #057

December 4, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore, SSIS

Andy Leonard explains the basics of the SSIS Data Flow Task and how a novice developer can learn SSIS from the beginning.

Read More
Previous 1 … 253 254 255 256 257 258 259 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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