How to get all comments list in confluence via SQL queries
This should get you the comments from the database.
select * from [CONTENT] C inner join [BODYCONTENT] B on C.CONTENTID = B.CONTENTID where C.CONTENTTYPE='COMMENT' and PREVVER is null and CONTENT_STATUS = 'current'
Thanks for your query it woks!!!
Glad to help! Please make sure to mark the question as answered. Thanks.
It looks like you're new here. Sign in or register to get started.