How to use SQL macro in a Confluence user macro
This article explains how to use SQL macro of the SQL for Confluence app in a user macro section of Confluence. This article presents inserting a simple SQL statement in the user macro.
Instructions
Prerequisites: Make sure the database connection is successful using the SQL for Confluence app.
Log in to your Confluence instance as an administrator.
Navigate to
(Cogwheel) > Manage apps.
Select the SQL app > View and modify data source profiles from the left sidebar and ensure that connection to the database is successful.
You can perform this action using two methods.





