![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 04 Jan 2012 @ 10:12:40 GMT
Hi, Unless I'm missing something obvious, how about:
Delete from tablea
where columna = tableb.columna
and tableb.flag = 'd'
; Insert into tablea
Select ...
from TableB
where flag = 'I';
Cheers, Dave Ward Analytics Ltd - Information in motion (www.ward-analytics.com)
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||