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.
SQL SERVER – List the Name of the Months Between Date Ranges
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.
SQL SERVER – Finding if Current Week is Odd or Even – Script
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.
SQL SERVER – Reverse String Word By Word
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.
SQL SERVER – The Basics of the SSIS Data Flow Task – Notes from the Field #057
Andy Leonard explains the basics of the SSIS Data Flow Task and how a novice developer can learn SSIS from the beginning.





