Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 25 Feb 2008 @ 13:10:19 GMT


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


Subj:   Re: Can i call macro in procedure?
 
From:   McCall, Glenn David

  Can I call macro in procedure?  


You should probably take a look at the manual:

Restrictions on Stored Procedures...

* Stored procedures do not support the following:

* EXPLAIN and USING modifiers inside a stored procedure

* EXECUTE macro statement


However the section on dynamic SQL doesn't list macros as a restriction. However there are other restrictions (too many to list here - hence my check out the manual suggestion). One restriction is that you can't use a select in the dynamic SQL, this would likely apply to the macro as well (i.e. you probably can't do a select in your macro). However you can do most action queries (e.g. insert, update etc).


Glenn Mc



     
  <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