Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trabulium/ec71186aa9d1d722b5fccbbba0801a61 to your computer and use it in GitHub Desktop.
Save trabulium/ec71186aa9d1d722b5fccbbba0801a61 to your computer and use it in GitHub Desktop.
update
sales_flat_order_grid as sfog
inner join (
select entity_id, status
from sales_flat_order as sfotmp
) as sfo on sfo.entity_id = sfog.entity_id
set sfog.status = sfo.status
#where sfog.entity_id in (111194)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment