[eluser]RS71[/eluser]
Hello
I am currently working out a couple queries and I needed to delete all rows with a certain value and replace them with rows coming from a form.
Currently I need to alter 3 tables, so at first I was doing three separate queries just for deleting.
The -SUM- of the 3 queries would average out to be
0.0034
Now I recently put them all into one DELETE query and that one combined query is taking about
0.0268
My application will have many users connecting to this form at once and I think I should probably have 7+ queries every time the form is successfully submitted.
Should I stick with the combined query?
Also, is there a simpler way to replace all rows = to a certain value instead of 1 delete query and 3 separate inserts?
Thanks in advance