﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Tools and Utilities  / Differences between Macro and Stored procedue / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 19:07:21 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Differences between Macro and Stored procedue</title><link>http://www.teradata.com/teradataforum/Topic15931-10-1.aspx</link><description>Hello,Following are few differences between MACRO and Stored-Procedure:MACRO:-  Limited procedural logic-  Can return multi row answer sets for the same request-  Multi-statement request parallelizes multiple single row statements-  Can EXPLAIN a macro-  Can be invoked by a triggerStored Procedure-  Sophisticated procedural logic	-  Returns a single set of values (Before Teradata 12)-  One request per individually processed statement-  Cannot EXPLAIN a stored procedure. Instead, must EXPLAIN each individual stored procedure SQL statement individually-  Cannot be invoked by a triggerHTH!Regards,Adeel</description><pubDate>Sun, 28 Jun 2009 23:15:18 GMT</pubDate><dc:creator>Adeel.Chaudhry</dc:creator></item><item><title>Differences between Macro and Stored procedue</title><link>http://www.teradata.com/teradataforum/Topic15931-10-1.aspx</link><description>Hi,Can any one please tell me the differences between a Macro and Stored procedue as both contains set of sql statements.Regards,kiran</description><pubDate>Fri, 26 Jun 2009 15:41:18 GMT</pubDate><dc:creator>kiran parsha</dc:creator></item></channel></rss>