This article explains how we can use SQL macro of SQL for Confluence app in a user macro section of Confluence. In this article, we considered 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.
- From the left sidebar, select the SQL app > View and modify data source profiles and ensure that connection to the database is successful.
- We can perform this action in two methods.