Created
December 13, 2012 16:27
-
-
Save phantom42/4277658 to your computer and use it in GitHub Desktop.
oracle update column with select from other table. http://www.sqlfiddle.com/#!4/ee7da/2306
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
UPDATE destTable d | |
SET d.column = (select column from sourceTable where id = [id]) | |
WHERE [id] = 1 | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment