In the last episode (Jan 30), Christian Kohlsch?tter said:
> Actually, you _can_ use ORDER BY with UPDATE.
>
> It works fine, if you do an
>
> update tb_roubr set id=id+1 where id>1 order by id DESC
>
> on your table.
Only if you're runing MySQL 4.0. 3.23 does not allow UPDATE .. ORDER BY.
Changes in release 4.0.0 (Oct 2001: Alpha)
------------------------------------------
* Added `ORDER BY' syntax to `UPDATE' and `DELETE'.
--
Dan Nelson
[EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php