Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Mar 2005 @ 17:15:57 GMT


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


Subj:   Re: Changing a default database within a macro
 
From:   Dieter Noeth

David Fry wrote:

  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.  


It's impossible.

When a macro is created every column/table reference is resolved and fully qualified, try a

     show qualified exec mymacro;

Dieter



     
  <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