Skip to end of banner
Go to start of banner

SQL Query macro - Cloud

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This page provides all the relevant information required to customize and use the app in an efficient and optimal manner. 

The SQL Query macro displays 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.

Some databases support read-only SQL statements. The SQL Query macro uses this support, if applicable, with such databases. 

Read-only support means that the database can optimize for read-only statements. For some databases (PostgreSQL, for instance) the read-only condition is enforced while in others, it is a suggestion for improving performance. 

Parameters

The following parameters are available in the macro editor:

Macro editor tabMacro editor labelDefault valueDescriptionMacro parameter
Main panelData source profile


Select SQL as an attachment


SQL statement


Settings > RuntimeTransaction isolation level


Maximum number of rows to retrieve and display


Maximum number of seconds for query to run


Settings > RenderingTable ID


Display data filter


Insert auto number column


Enable pagination


Number of rows to be displayed on one page


Show error if there are no rows


Text to display when there are no rows


Show SQL


Helpful resources

  • Administrator guide to know more about app configuration
  • Tutorials to understand app usage
  • No labels