Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 06 Nov 2003 @ 16:46:35 GMT


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


Subj:   Macro creation with bad statement
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, November 06, 2003 11:43 -->

Why is this macro allowed to be created when c1 is not in the parm list? It did not fail until I tried to execute the macro.

        replace macro mac1

        (  a    (char(1)),
           b    (char(1)),
           c    (char(1)),
        )

           as (

         update table1

           set c = :c1
         where a = :a and
               b = :b;
         );


     
  <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