日期:2014-05-17 浏览次数:21044 次
MERGE INTO A
USING B
ON (a.asses_number = b.asses_number)
WHEN MATCHED THEN UPDATE set a.user_id = b.user_id
MERGE INTO A a
USING B b
ON (a.asses_number = b.asses_number)
WHEN MATCHED THEN UPDATE set a.user_id = b.user_id
WHEN NOT MATHED THEN INSERT (a.user_id) values(b.user_id);