Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 27 Feb 2003 @ 18:19:57 GMT


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


Subj:   How do I get values into a BTEQ script w/o an IMPORT file?
 
From:   Sam Sterling

I want to run a series of SQL statements including macros, and I want them all to use the same date values.

The execute (macro) (period_start_date = '2003-01-01', period_end_date = '2003-01-31'); works fine - if it's only one statement or transaction.

But I have multiple statements that I need to use the same :period_start_date and :period_end_date.

I want to input the dates ONLY ONCE, either in the script itself or by invoking bteq from the command line.

Any ideas?

Thanks.

Sam Sterling



     
  <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