-
-
Save dfdeshom/5abb73f97b7cc034f293cac211041578 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO TABLE T(ID, ATTR1, ATTR2) VALUES (1,'A', 'B') | |
ON CONFLICT(ID) DO UPDATE SET | |
ATTR1=EXCLUDED.ATTR1, | |
ATTR2=EXCLUDED.ATTR2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment