Skip to content

Instantly share code, notes, and snippets.

@iso100 iso100/sql update
Created Mar 10, 2014

Embed
What would you like to do?
Update field based on match on fields in temp table
UPDATE exp_pw_landingpages epw
SET epw.mailcode =
(SELECT mailcode FROM temp WHERE website = epw.website and subdir = epw.subdir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.