Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 16 Jul 2004 @ 18:36:23 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   UPSERT Using Straight SQL
 
From:   Coffing Christopher L

A-Team

I am trying to update / insert into a table from another table. Can I do this using an UPDATE (UPSERT FORM)???

So far I have not found a way to do this. It appears that the UPSERT form is looking for a parameter file to load from and does not support a derived table and an INSERT / SELECT.

I know this works in TPUMP and MULTILOAD but I want to do this with Teradata... Do I need BTEQ and if so would that work internal to the system or export and import?

I hope that I am simply doing something wrong and those much smarter than I have the proper syntax to ease my woes...

I will keep at it... Please feel free to let me know that it cannot be done...


Best Regards

Chris Coffing
AFKS O&M Lead Teradata DBA
Certified Teradata Master



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023