Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 10 Nov 2006 @ 23:34:39 GMT


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


Subj:   Re: Dropping a table from sql assistant
 
From:   Michael Larkins

Randall:

Do you come from Oracle by any chance?

In Teradata it is much, much, much faster to delete all of the rows (in Teradata mode - single statement transaction = fastest thing that Teradata does) instead of dropping and adding a table (you mentioned DROP and CREATE). In Teradata, deleting all rows is the equivalent of a truncate in Oracle. So, don't drop a table to delete the rows - too slow and takes locks on the data dictionary. Don't do it!!! Always, always, always delete all of the rows.


Regards,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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