Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 Jan 2001 @ 21:35:52 GMT


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


Subj:   Problem with Insert
 
From:   John Yovanovich

I'm running into a strange problem when using a multi insert table. Sometimes it doesn't extract any rows from one of the selects. Has anyone else had this problem?

Here's an example:

Insert into database1.target_table
select * from database1.source1_table;Insert into
database1.target_table select * from database2.source2_table;

Table is empty before the query begins.

Rows inserted is 20.

Unfortunately, there are 20 rows in source1_table and 30 rows in source2_table. There are no duplicates.

Where did my 30 rows go????

Any help would be appreciated.


Thanks,

John



     
  <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