|
|
Archives of the TeradataForum
Message Posted: Wed, 11 Dec 2013 @ 23:10:58 GMT
Subj: | | Re: Macro with In List parm |
|
From: | | Dieter Noeth |
Hi Michelle,
you can't pass multiple values in an easy way, but when you're on TD14 it's a simple
AND Customer_C_alias_CCN.Customer_Nb IN
(
SELECT CAST(token AS INT)
FROM TABLE (STRTOK_SPLIT_TO_TABLE(1, :Customer_Nb, ',')
RETURNS (outkey INTEGER,
tokennum INTEGER,
token VARCHAR(20) CHARACTER SET UNICODE)
) AS tf
)
exec prodmd.customer_forms('7900201,8705356,1304132')
Dieter
| |