This article helps you get find all the list of pages where the Advanced Tables SQL for Confluence macros are added to your confluence instance hosted on the server or data center.
...
Log in as Confluence Administrator and navigate to Cog wheel Cogwheel > General configuration > Administration > Macro Usage:
...
Under All macros, look out for the App name Bob Swift Atlassian Apps - Advanced TablesSQL(Pro Edition) for Confluence:
...
Usage information using SQL queries:
As the Advanced Tables the SQL for Confluence has five three macros, you must execute the query for each macro to get the macro-level usage information. If the query returns any records, the output includes the the Title of the page and SpaceID of and SpaceID of the relevant pages.
...
For the
json-tablesql macro, execute the following query:
Code Block language sql theme Midnight Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST') AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="json-tablesql"%');
Results:For the
tablesql-
plusquery macro, execute the following query:
For the jql-table macro, execute the following queryCode Block language sql theme Midnight Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST') AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="tablesql-plusquery"%');
Results:
For the attachment-tableCode Block language sql theme Midnight Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST') AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="jql-table"%');
For the sql-file macro, execute the following query:
Code Block language sql theme Midnight Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST') AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="attachment-table"%');
For the CSV macro, execute the following query:
Code Block language sql
theme Midnight Select CONTENT.Title, CONTENT.SpaceID from CONTENT, BODYCONTENT WHERE PREVVER IS NULL AND (CONTENT.CONTENTTYPE = 'PAGE' OR CONTENT.CONTENTTYPE = 'BLOGPOST') AND CONTENT.CONTENTID = BODYCONTENT.CONTENTID AND (BODYCONTENT.BODY like '%<ac:structured-macro ac:name="csv-file"%');
...
Results:
Info |
---|
It is recommended to:
|