I have the following sql statement in my web app.
session.mDbUser.ExecuteSQL("UPDATE ReviewAndRedeem SET Redeem = 'Yes' WHERE RefID = '" + lblRef.Text + "' AND Redeem = 'No' " +_
"AND ActivationCode = '" + Session.pActivationCode + "'")
This process is taking a couple of seconds to perform the job, and I’m not sure why. Of note, the table has just over 900,000 records, so not sure if that can slow things down. Is there a way to speed up this sql UPDATE statement?
7 posts - 4 participants