Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Determine number working day between two dates - forum topic by pema_yozer

$
0
0

Hi Guys,
I have a table which contains a start date and an end date
Table a
Start_date       End_date
13-03-2013     14-03-2013
10-03-2013     13-03-2013
.........
....
along with this i have another table which has the list of all bank holidays
table b
date                 day_of_week    bank holiday
13-06-2013            4                       N
......
.....
using these two tables i need to calculate the number of working days between the start date and end date of table A
 
Any ideas on how to proceed with this
which i have derived from sys.calendar and the bank holiday list 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>