This article explains how we can use SQL macro of SQL for Confluence app in a user macro section in Confluence. In this article, we considered inserting a simple SQL statement in the user macro
Instructions
- We can perform this action in two methods.
- Make sure that database connection is successful using the SQL for Confluence app.
- Log into your Confluence instance as an administrator and navigate to Cog wheel) > 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.