I went for a nice hike on the Appalachian Trail this weekend and even though the weather forecast called for scatter showers, it quickly turned to steady rain. Under the canopy of the forest it wasn’t...
This is a simple function for MS SQL that can make reporting so much easier by finding the previous business day.
Setup the function:
CREATE FUNCTION [dbo].[fn_prevbusday](@date DATETIME)