Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Description
This macro has similar parameters as the SQL Macro and behaves similarly in most cases. There are 2 primary reasons for using sql-file:
- Security - it can be secured separately from the other SQL macros.
- Simplified file access parameter.
Parameters
...
file
- may be restricted
...
File path in the configured Confluence server home directory under the script directory.
...
Include Page | ||
---|---|---|
|
...
|
...
|
...
Examples
No Format |
---|
{sql-file:dataSource=testDS|file=authorized.sql} |
...