Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Description
This macro has similar parameters as the SQL Macro and the SQL macro and behaves similarly in most cases. There are 2 two primary reasons for using sql-file:
- Security — it can be secured separately from the other SQL macros.
- Simplified File Accessfile access — the modified parameter makes it easier to specify and read SQL from files.
...
Parameter | Required | Default | Macro Browser Label | Description |
---|---|---|---|---|
Data Sourcesource (may be restricted) | Data Source Name | Specify the Data Source data source name. It represents an application server defined Data Source or Data Source Profile defined data source or data source profile defined by your administrator. | ||
file | File | File path in the configured Confluence server home directory under the script directory. | ||
Output | Output format | Determines how the output is formatted:
|
For more information on Common common SQL parameters, refer to Working with SQL parameters - 9.x.
Examples
Child pages (Children Display) |
---|
Explore SQL
...
parameters
The SQL Macro -file macro has dozens of built-in parameters that you can explore and apply.