Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 10 Nov 2006 @ 21:49:43 GMT


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


Subj:   Re: Dropping a table from sql assistant
 
From:   Stone, Randall

  If you could mention the reason why you cannot use BTEQ and / or what exactly you want to achieve in your script besides dropping the table, the probability of Forum members suggesting alternative solutions would be higher.  


It's not that I don't want to use BTEQ. I just wasn't aware of SQL Assistant's limitations. As it is, I need to have this script finished before I go home tonight (or I'll be here over the weekend), so I'll finish the prototype using SQL Assistant and learn to use BTEQ next week.

What I'm doing is pulling data from several tables and aggregating it into a summary table, and then using the data in that summary table to update another table. The data I'm pulling is aggregated from several different systems, and I pull common fields (but differently named) from those tables into my tables. Since we are in an experimental stage of analyzing this data, I'm constantly modifying the table columns. By doing the drop and recreate from within the script, I avoid having to do the work twice by changing the insert statement in the script AND altering the table via a separate script. The typing's nothing, but this way I cut my debugging in half.


Randall



     
  <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