troubleshooting Question

ASP - SQL Server mass update

Avatar of cbtidball
cbtidball asked on
ASP
3 Comments1 Solution208 ViewsLast Modified:
I have a form which contains 500 rows of data (with 500 check boxes.)  The user selects 200 of the 500 choices and submits the form... my question is: what is the most efficient way to handle this update?  Do I have the action page loop through each of the 500 form variables and perform 500 update queries on my db?  Or do I have have the web page create two in-statements and execute 2 big update queries.. ie:  Update field where otherfield in('formvariable1','formvariable2', etc..)  Or is there a better way?

Thansk,
Chris
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros