Confluence database query


I want to be able to query a particular column within a table in confluence page. Is this even possible?

So for example: Confluence Page 'Test' has a table, and that table has 3 columns. I want to be able to query all the data in column 3.

Thanks a lot for your help.

1 answer

1 accepted

3 votes
Accepted answer

Hey Anand,

I'ts hard to create that kind of query since Confluence stores the column data in a linear was as XHTML in the BODYCONTENT table (BODY Column), just for you to have a better understanding what I'm trying to explain take a look on below example:

  1. First I created below table into a page:
  2. Now take a look on how Confluence stores that into the datase:
  3. There's no simple query we can do to get the informtion of the class column as you can see above there is no reference in the database saying, this info belongs to column class and hence we cant extract that specific set of information :(.

I might be wrong but I strongly believe that the Confluence SQL plugin would be able to extract that informtaion in the way you want, however that is a third party plugin and it's not free.

Hope it helps.
Thanks and Regards,
David|Confluence Support Engineer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,321 views 93 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you