Quantcast
Channel: Teradata Downloads - Tools
Viewing all articles
Browse latest Browse all 870

BTEQ TPT

$
0
0

I want to understand the difference in the usage of a TPT script vs BTEQ script. 
 
Say I am writing a complex SQL with joins on 15 tables, (each table approximately having 1 million rows) with few ordered analytical functions. I want to load the data produced by this SQL to another table in the same database/ same server, which of the following is better considering the performance and also best practice.
 
1. Create a BTEQ script, add this complex SQL with a INSERT INTO TABLE and run that bteq from command line using BTEQ command
2. Create a TPT script, use a stream or export operator to retreive the data and then use an update operator and load it to a table.
 
 

Tags: 
Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>