update products
set OrderNumber=OrderNumber+1
where STRCMP(Name, 'bla') = 1;
Eu entendi errado o seu ponto. Você pode tentar algo assim?
SET @rownum:=0;
update
set example@sqldat.com:example@sqldat.com + 1
from products
order by Name;
update products
set OrderNumber=OrderNumber+1
where STRCMP(Name, 'bla') = 1;
SET @rownum:=0;
update
set example@sqldat.com:example@sqldat.com + 1
from products
order by Name;