This funciont return a date without end-of-week , it is useful to calculate a new date for any payment!
YOU CALL with 'dias_uteis(getdate(), 5)' and will get five useful days after today
Creating a PDF from a Stored Procedure in SQL Server
A short but interesting article, the author has figured out a way to create a PDF from a stored procedure without using a third party library.
2019-09-20 (first published: 2003-08-26)