iceflyin
03-09-2008, 08:52 PM
It it possible to lower a value across 10mil+ rows simultaneously like this?
Psedocode: "UPDATE myTable SET myValue = myValue - 1;"
Also, what would be the approximate processing time? Quad core dedicated.
Might it be more efficient to use this instead?
"UPDATE myTable SET myValue = myValue - 1 WHERE myValue > 0;"
This is going to be a once a day midnight chron job.
Psedocode: "UPDATE myTable SET myValue = myValue - 1;"
Also, what would be the approximate processing time? Quad core dedicated.
Might it be more efficient to use this instead?
"UPDATE myTable SET myValue = myValue - 1 WHERE myValue > 0;"
This is going to be a once a day midnight chron job.