Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
On this page
|
Description
Display values from SQL statements or scripts (or both) on Confluence pages. Statements can range from data manipulation language (DML), data definition language (DDL), data control language (DCL), and transaction control language (TCL) statements.
Usage Parameters
...
Determines how the output is formatted:
- HTML — Generates HTML from the result set data. Data is HTML encoded unless encoding has been disabled.
- XHTML (Pro Edition) — Generates and renders XHTML from result set data. Data is HTML encoded unless encoding has been disabled (disableAntiXss).
- Wiki — Generates and renders wiki markup from result set data. If the data might contain unintended wiki markup characters, set the escape parameter to true.
- unrenderedWiki (Pro Edition) — Generates wiki markup from result set data, similar to wiki, without rendering. Wraps with a table-plus macro suitable for copying to another system.
...
For more information on:
- Common SQL parameters, refer to
...
...
Example
...
- Common table parameters, refer to Common Table Parameters - 10.x
Explore SQL Parameters
The SQL macro has dozens of built-in parameters that you can explore and apply.