|
|
Archives of the TeradataForum
Message Posted: Thu, 09 May 2002 @ 20:56:30 GMT
Subj: | | Where clause in insert macro |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Thursday, May 09, 2002 15:25 -->
Can there be a where clause in an insert macro? If so, what am I doing wrong?
replace macro r_kfm043
(
rfac_terma (char(11)),
rfac_termz (char(11))
)
as
(
insert into facsect2v1
(
fac_terma,
fac_termz
)
values
(
:rfac_terma,
:rfac_termz
)
where rfac_terma like ('%kzz') or rfac_termz like ('%kzz'));
);
$
*** Failure 3706 Syntax error: Did not expect 'where' that follows the ')'.
| |