Hi all,

I need to select the top 1000 records based on the "usage" field and update
the "checked" field to '1'.

I am currently doing it in 2 statements; i.e. select first then update from
a MYSQL_ROW array. How do I do it in just a single statement?

Please advice on a better way. Also...will doing this in one statement be
more efficient from the server perspective?

Thanks in advance


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to