How to get the previous working day from Oracle?

We maintain a table listing actual holidays for years to come (Holidays, with two columns: M_DATE, and DESCR). I need to find the most recent day before the given one, that's neither listed in that table, nor is Saturday or Sunday.

Preferably -- without a loop :) How would I do that?



from Recent Questions - Stack Overflow https://ift.tt/3vuPpjU
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept