Updating a block of rows in MySQL can be accompished by using the “limit” function:
update TABLE_NAME set COLUMN_NAME=VALUE limit MAX;
E.g.
update products set state=false limit 10;
Updating a block of rows in MySQL can be accompished by using the “limit” function:
update TABLE_NAME set COLUMN_NAME=VALUE limit MAX;
E.g.
update products set state=false limit 10;