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

about dates subtraction from other table

$
0
0

i have a table t1 which contains from date and to date and had an other table t2 which contains particular dates, now i want to check t2 dates are in between the t1 table for each record if there are present i need to subtract them from t1 and i need the remaining days count which are between from date and to date 

i need a query for this can any one help with this.....


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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