Skip to content

Instantly share code, notes, and snippets.

@shiraji
Created August 13, 2019 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiraji/ea3a0415760af87b0ae493c9b362ae9d to your computer and use it in GitHub Desktop.
Save shiraji/ea3a0415760af87b0ae493c9b362ae9d to your computer and use it in GitHub Desktop.
update bar set text = 'aaa', text2 = 'bbb' where id = 2043;
update bar set (text, text2) = ('aaa', 'bbb') where id = 2043;
update bar set text1 = 'aaa', text2 = 'bbb' where id = 2043;
update bar set (text1, text2) = ('aaa', 'bbb') where id = 2043;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment