Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to optimize querry BODYCONTENT table for only record CONTENT type which can have a filename ?

Dear all,

We are using Confluence Data center and SQL server on azure.
We need to update manualy a bulk of information from BODYCONTENT table due to a setting mistake and for that we need to optimized return field criteria.

For that is tehre a way to filter the BODYCONTENT data only for CONTENT type which are able to have attachement ?

In other words, what are the content type in confluence which can have filename ?

thnaks for help

1 answer

1 accepted

0 votes
Answer accepted

Hello @sc,

Happy to help with this.

BODYCONTENT is pages only; if you need a list of attachments, then you can use these queries:

Could you have a look and see if that could help you with the data you need? If not, can you tell us what you're trying to do exactly? What do you need to correct?



Like Shannon Spaniol likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

463 views 24 9
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you