Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
idProductTOC

On this page

Table of Contents
maxLevel2
excludeOn this page
typeflat
separator |

Description

Display values from SQL statements on Confluence pages. Statements can range from read-only SELECT statements to Data Manipulation Language (DML) statements such as INSERT, UPDATE, and DELETE. 

Usage Parameters

NameRequiredDefault ValueMacro Browser LabelDescription
Data Sourcesource
(may be restricted)
(tick)
Data Source NameSpecify the Data Source data source name. It represents an application server defined Data Source or Data Source Profile data source or data source profile defined by your administrator.
Output

Output format

Determines how the output is formatted:

  • HTML — Generates  — Generates HTML from the result set data. Data is HTML encoded unless encoding has been disabled.
  • wiki — Generates  — Generates and renders wiki markup from result set data. If the data might contain contains unintended wiki markup characters, set the escape parameter to the escape parameter as true.
  • XHTML (Pro Edition) — Generates and renders XHTML from result set data. Data  Data is HTML encoded unless encoding has been disabled (disableAntiXss).
  • unrenderedWiki (Pro Edition) — Generates wiki markup from result set data, similar to to wiki, without rendering. Wraps with a table-plus macro  macro suitable for copying to another system.

For more information on Common common SQL parameters, refer to Working with SQL parameters - 9.x.

Examples

Children Display

Explore SQL

...

parameters

The SQL Macro macro has dozens of built-in parameters that you can explore and apply.