Regarding Macros in SDAC.
Posted: Mon 15 Jan 2007 07:41
Hi guyz,
Recently i encountered a situation where i need to use conditional query building using the (#If - #EndIf) syntax.
e.g. :
SELECT
FROM
WHERE
#if (&MacroName = )
#endif
Order by
Where value of the macro 'MacroName' is passed through inline code.
But I was not able to execute this Query as (#If - #EndIf) is not supported by SDAC
Can some one kindly suggest me what is the work-around for this?
Recently i encountered a situation where i need to use conditional query building using the (#If - #EndIf) syntax.
e.g. :
SELECT
FROM
WHERE
#if (&MacroName = )
#endif
Order by
Where value of the macro 'MacroName' is passed through inline code.
But I was not able to execute this Query as (#If - #EndIf) is not supported by SDAC
Can some one kindly suggest me what is the work-around for this?