Confluence database query

Hi,

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

28 views 0 4
Read article

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