Macro

Database
Enthusiast

Macro

Hi,

create macro a(col1 char(10)) as
(
sel *
from :col1
;);

3707:Syntax error,expected something like a name or '(' between the from keyword and ':'

why is this error coming... help please
1 REPLY
Enthusiast

Re: Macro

you can't specify the table name or column name as variables in macros ...