Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
krishnakumar
Starting Member
5 Posts |
Posted - 2007-10-25 : 10:19:09
|
| Dear Sir,I am new to this forum. Am i posted any thing wrong please forgive me.Last two days i am trying to write a query. I can not do that. I hope any one can help me to write this querysituationI have two Columns Order Amount3007 253008 503009 25If i am searching the Order with Amount column like 100i need to get those three orders like this 3007,3008,3009If the record is like this..Order Amount3007 603008 303009 90Then It should search the orders like the following 60+30+10( It sholud adjust automatically to 100 from the third order amount)My hairs are pulling out for the last two daysAny one can help me please I am beging you the query sir.Thankskrishnakumar |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
krishnakumar
Starting Member
5 Posts |
Posted - 2007-10-25 : 11:48:07
|
| Thank you sir.I got the nearest values. Let me try to find exact valuesThankskrishnakumar |
 |
|
|
|
|
|