Archives of the TeradataForum
Message Posted: Mon, 25 Feb 2008 @ 13:10:19 GMT
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).
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|