Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Divide sales by no of Days

$
0
0

Hi friends, here is my task, appreciate your help.

Table_A:
CodeDate
1111/1/2014
1111/2/2014
1111/3/2014
1111/4/2014
1111/5/2014
1112/1/2014
1112/2/2014
1112/3/2014
1112/4/2014
1112/5/2014
Table_B:
CodeJanFeb
11110002000
Need Result As:
CodeDateSplitByNoOfWorkDays
1111/1/2014    200
1111/2/2014    200
1111/3/2014    200
1111/4/2014    200
1111/5/2014    200
1112/1/2014    400
1112/2/2014    400
1112/3/2014    400
1112/4/2014    400
1112/5/2014    400

Royal Thomas


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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