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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

361 views 2 5
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