Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Doubt in Sql Query on Stored Procedure

$
0
0

Hi Friends,

             

In my project i want to filter total amount by FromDate and ToDate. and my doubt was i want to filter same amount <15 DifferenceDate , < 30 DifferenceDate....... <90 DifferenceDate

Ex: 

Total Amount    Date1  Date2 DifferenceDate    amount < 30    amount <60

2000001/01/2013 01/02/2013        60          10000(mu assumption) 20000(mu assumption)

here < 30 is 30 days less than difference date or 30 days less than Date2 

< 60 is 60 days is less than differencdate date or  greater than 30 and less than 60days

Please i need your help. i am in big head ache:) please send me Sql Query for this Doubt. post here or send to my mail id dinesh6690@gmail.com.. please send as soon as possible. thanks in advance . i have attached the sample


.NET



Viewing all articles
Browse latest Browse all 1710

Trending Articles



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