Event Report Advance Raw SQL Error

Dear Developers,

I hope this message finds you well , I wanted to see the sql query in my dhis2 2.40.1 has given error conflict when I went to check dhis2 demo there is also given error.

Error Snapshot attached below.

Regards
Mohammad Ayub Yousafzai
Kabul , Afghanistan

Hi @mohammadayub864

Could you share the SQL Query that you ran in the play instance?

Thanks!

Dear @Gassim,

Please check in snapshot image 1

snapshot image 2

Regards
Mohammad Ayub Yousafzai
Kabul , Afghanistan

Yes, I see what you mean now, thanks!

Thank you for pointing this out. It appears that this used to be supported in the Event Reports app and is currently not supported in the Line Listing app, and since the app that’s receiving updates and improvements is the Line Listing app, would you like to create a feature request to include the “Raw data SQL” download feature? If you do create a feature request, please share the link to the issue so other community members can watch for updates , comment, and like.

You’re welcome to include the screenshot below:

For the time being, you might want to use the SQL View app? You could make use of a software such as pgadmin to explore the tables and values, create a query, and then run it in the SQL View app. Please let me know if this would be helpful?

Thanks!