![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 06 Aug 2004 @ 09:35:46 GMT
I assume that the AGE column is a character string. Teradata has a 'like an operator' that may work in this context (untried)
Create macro get_age (AGEPARAM varchar(30) )
As
(
Select ...
Where AGE like any (:AGEPARAM));
Exec get_age "'> 12','< 30'"
Barbara
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||