Oracle不支持
JOIN语句中的子句
UPDATE。
用这个:
MERGEINTO contactassociations ca1USING contactassociations ca2ON ( ca1.contactid = ca2.contactid AND ca1.entitytable = 'EMPLOYER' AND ca2.entitytable = 'CLIENT' )WHEN MATCHED THENUPDATESET parentid = ca2.id
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)