Summary
This example shows how the macro replaces variables from within a page.Replacement occurs for variables found within the body of the macro just prior to rendering the body. It cannot replace variables produced by the rendering process like data produced by downstream macros.a variable replacement takes place.
Macro Input | Output |
---|---|
The query has a variable within the SQL macro body | The macro will execute without any errors |
The query refers to a variable that is located in a file | The macro will throw an error |