Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Tue, 29 Oct 2002 @ 20:09:45 GMT


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


Subj:   Re: Using teradata table and front end tool
 
From:   Michael Larkins

Hi Mayur:

Once you get the data into your application program, you can access Teradata using a SELECT.

Your SQL can use the EXISTS, but it would probably need to be written as a corelated subquery. Since your data is coming from your application and not from another Teradata table, you should be able to simply do a substitution in your WHERE clause of the data value your application has read:

select * from teradata_table
where td_column=substitution_data_value;

Instead of taking the time to write an application using ODBC, you might just create a flat file from you 300,000 rows. Then, use BTEQ with 12 sessions or FastExport to read the file and extract the desired rows using a SELECT similar to the above one.


hope this helps,

Mike



     
  <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: 28 Jun 2020