Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 14 Apr 2011 @ 12:41:19 GMT

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

Subj:   Re: Comma in Macro Parameter
From:   de Wet, Johannes

Craig - We've used the following 2 methods in the past:

1. Using a WITH RECURSIVE function inside the macro to break out the parameter into an in-list. The data would be need to be passed to the macro in the following format: EXEC myMacro ('x,y,z');

2. Using the format EXEC myMacro ('x,y,z'); and then using a join to the SYS_CALENDAR table inside the macro to break out the parameter list into an in-list.


Johannes de Wet

  <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