Click here to Skip to main content
15,888,351 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to get rows having sum equal to given value Pin
Jagz W9-Jun-11 0:01
professionalJagz W9-Jun-11 0:01 
AnswerRe: How to get rows having sum equal to given value Pin
Simon_Whale9-Jun-11 0:29
Simon_Whale9-Jun-11 0:29 
GeneralRe: How to get rows having sum equal to given value Pin
Hum Dum9-Jun-11 13:29
Hum Dum9-Jun-11 13:29 
AnswerRe: How to get rows having sum equal to given value Pin
Shameel9-Jun-11 1:02
professionalShameel9-Jun-11 1:02 
AnswerRe: How to get rows having sum equal to given value Pin
Luc Pattyn9-Jun-11 2:11
sitebuilderLuc Pattyn9-Jun-11 2:11 
GeneralRe: How to get rows having sum equal to given value Pin
konduc9-Jun-11 3:16
konduc9-Jun-11 3:16 
GeneralRe: How to get rows having sum equal to given value Pin
Luc Pattyn9-Jun-11 3:34
sitebuilderLuc Pattyn9-Jun-11 3:34 
GeneralRe: How to get rows having sum equal to given value Pin
Hum Dum9-Jun-11 13:27
Hum Dum9-Jun-11 13:27 
the link you had given pointed me to Backpack

I think what you mean is Knapsack_problem

I realize the complexity.
But at any given time max rows can b only 50-100,i am getting these rows from Select statement.

Then from these rows i have to get rows whose sums equals to Qty given (input).

So, will you please help me finding an algorithm to solve.

Regards
AnswerRe: How to get rows having sum equal to given value Pin
Luc Pattyn9-Jun-11 13:33
sitebuilderLuc Pattyn9-Jun-11 13:33 
QuestionConvert MSSQL database to MySQL database Pin
sarang_k8-Jun-11 17:59
sarang_k8-Jun-11 17:59 
AnswerRe: Convert MSSQL database to MySQL database Pin
David Skelly8-Jun-11 22:36
David Skelly8-Jun-11 22:36 
AnswerRe: Convert MSSQL database to MySQL database Pin
Shameel9-Jun-11 1:04
professionalShameel9-Jun-11 1:04 
AnswerRe: Convert MSSQL database to MySQL database Pin
obhijitghosh19-Jun-11 20:17
obhijitghosh19-Jun-11 20:17 
QuestionSet RowCount Alternatives [solved] Pin
Dan Mos8-Jun-11 8:17
Dan Mos8-Jun-11 8:17 
AnswerRe: Set RowCount Alternatives Pin
Chris Meech8-Jun-11 8:28
Chris Meech8-Jun-11 8:28 
GeneralRe: Set RowCount Alternatives [modified] Pin
Dan Mos8-Jun-11 8:29
Dan Mos8-Jun-11 8:29 
GeneralRe: Set RowCount Alternatives Pin
PIEBALDconsult8-Jun-11 14:12
mvePIEBALDconsult8-Jun-11 14:12 
GeneralRe: Set RowCount Alternatives Pin
Dan Mos8-Jun-11 22:54
Dan Mos8-Jun-11 22:54 
QuestionORA-01843: not a valid month - Error Pin
Sathiyasoori.S8-Jun-11 3:22
Sathiyasoori.S8-Jun-11 3:22 
AnswerRe: ORA-01843: not a valid month - Error Pin
Luc Pattyn8-Jun-11 3:52
sitebuilderLuc Pattyn8-Jun-11 3:52 
GeneralSide bet Pin
Peter_in_27808-Jun-11 14:46
professionalPeter_in_27808-Jun-11 14:46 
AnswerRe: Side bet Pin
Luc Pattyn8-Jun-11 15:05
sitebuilderLuc Pattyn8-Jun-11 15:05 
GeneralRe: ORA-01843: not a valid month - Error Pin
Sathiyasoori.S8-Jun-11 17:31
Sathiyasoori.S8-Jun-11 17:31 
AnswerRe: ORA-01843: not a valid month - Error Pin
Luc Pattyn14-Jun-11 1:58
sitebuilderLuc Pattyn14-Jun-11 1:58 
Questionclustered index more than on one field Pin
MecAlex8-Jun-11 2:52
MecAlex8-Jun-11 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.