Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Mar 2005 @ 17:01:32 GMT


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


Subj:   Changing a default database within a macro
 
From:   David.Fry

I'm trying to use the same macro for multiple databases; however, when I run the database command for the second time it is still using the first database. Does anybody know how to get around this?

     database database_1;

     execute macro;

     database database_2;

     execute macro;

Thanks,

David Fry



     
  <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