Skip to content

Instantly share code, notes, and snippets.

@maxout
Last active March 1, 2022 08:07
Show Gist options
  • Select an option

  • Save maxout/9deb1e579b0634e2427e to your computer and use it in GitHub Desktop.

Select an option

Save maxout/9deb1e579b0634e2427e to your computer and use it in GitHub Desktop.
Shopware change ordernumbers incrementally with prefix
select @i := 200000;
update s_articles_details set `ordernumber` = CONCAT('STM-',(select @i := @i + 1));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment