﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Data Warehousing  / Teradata   / Macro Variable TYPE, and a quiz / 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>Wed, 03 Dec 2008 19:04:30 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Macro Variable TYPE, and a quiz</title><link>http://www.teradata.com/teradataforum/Topic11054-1-1.aspx</link><description>use varchar(255), and format the all the variables into one string passed to macro.Do you want to consturct a dynamic query? Store procedure can achieve the goal.</description><pubDate>Sat, 29 Mar 2008 09:45:44 GMT</pubDate><dc:creator>Jian</dc:creator></item><item><title>RE: Macro Variable TYPE, and a quiz</title><link>http://www.teradata.com/teradataforum/Topic11054-1-1.aspx</link><description>what are the input_type and how-to-pass there?Thanks a ton.</description><pubDate>Wed, 26 Mar 2008 16:53:11 GMT</pubDate><dc:creator>georgexu</dc:creator></item><item><title>Macro Variable TYPE, and a quiz</title><link>http://www.teradata.com/teradataforum/Topic11054-1-1.aspx</link><description>Hi,How pass string like 'va', 'vb', 'vc' as one input?Say the code like thiscreate macro macro_name (input_name input_type) as (	select columns             from table_x             where table_x.column_y in (:inputname)	group by 1,2 order by 1,2;)execute macro_name (how-to-pass);</description><pubDate>Wed, 26 Mar 2008 16:34:04 GMT</pubDate><dc:creator>georgexu</dc:creator></item></channel></rss>