Re: [PHP-DB] Updating many records at a time

2005-03-01 Thread Steve McGill
> Steve McGill wrote: > > I have a situation where I am doing lots of complex sorting on records that > > already exist in a MySQL table. The table has a 'sort_order' field which > > means I can do a simple ORDER BY sort_order to keep it nice and quick on > > SELECT, it's only UPDATE which is slow.

Re: [PHP-DB] Updating many records at a time

2005-03-01 Thread Martin Norland
Steve McGill wrote: I have a situation where I am doing lots of complex sorting on records that already exist in a MySQL table. The table has a 'sort_order' field which means I can do a simple ORDER BY sort_order to keep it nice and quick on SELECT, it's only UPDATE which is slow. If I change the o

[PHP-DB] Updating many records at a time

2005-03-01 Thread Steve McGill
I have a situation where I am doing lots of complex sorting on records that already exist in a MySQL table. The table has a 'sort_order' field which means I can do a simple ORDER BY sort_order to keep it nice and quick on SELECT, it's only UPDATE which is slow. If I change the order that I want 10

RE: [PHP-DB] Updating Many Records oops

2002-04-18 Thread Peter Lovatt
1473 > --- > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: 18 April 2002 14:21 > > To: [EMAIL PROTECTED] > > Subject: [PHP-DB] Updating Many Records > > > &

RE: [PHP-DB] Updating Many Records

2002-04-18 Thread Peter Lovatt
18 April 2002 14:21 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Updating Many Records > > > I am not sure if this is possible. > > I have a database, and we fetch all the records and then list them. > > What we need is the one field in the database to be able to be updated.

[PHP-DB] Updating Many Records

2002-04-18 Thread Bzdpltd
I am not sure if this is possible. I have a database, and we fetch all the records and then list them. What we need is the one field in the database to be able to be updated. Now the field will have different values for each record. Is it possible to update the table with lots of different va