Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Surrogate Key Question - response (2) by dnoeth

$
0
0

Hi Todd,
this is usually done using a Left Join of target/source and COALESCE(address_id, ROW_NUMBER + (SELECT COALESCE(MAX(address_id), 0) FROM target)))

Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles