Skip to content

math-g/working-days-oracle-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Working days between current date and a date column in Oracle SQL (without any DDL)

Oracle SQL code elements used to compute the number of working days between a past or future date and the current date, in "pure" SQL, without the need to use PL/SQL or to create any object in the schema.

Current date is by default sysdate, but can be forced to be an arbitrary date.

The date to compare to current date will typically be contained in a column.

The holidays computation part is specific to France, but with slight modifications, could be adapted to another country.

This rely on the functions in WITH clause feature, so Oracle 12.1 + is needed.

See corresponding post :

working-days-oracle-sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages