Unable to use Postgre SQL Stored Procedure or Select Query using dynamic Parameterized input in the reports

1 Answer 128 Views
Accessibility
Bipin
Top achievements
Rank 1
Bipin asked on 17 Nov 2023, 06:08 AM

Hello Community

 I'm currently facing an issue with utilizing PostgreSQL stored procedures and select queries in my reports when attempting to use dynamic parameterized input. Despite various attempts, I haven't been able to achieve the desired outcome.

Specifically, I am encountering challenges when trying to incorporate dynamic parameters into my stored procedures or select queries for report generation. The reports seem to be unable to properly handle dynamic input, and I'm struggling to identify the root cause of the problem.

If anyone has experience or insights into efficiently using dynamic parameterized input with PostgreSQL stored procedures or select queries for reports, I would greatly appreciate your guidance. Additionally, any examples or best practices related to this issue would be invaluable.

 

Thank you in advance for your time and assistance.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 21 Nov 2023, 01:18 PM

Hello Bipin,

 

Thank you for writing to us. I hope you are doing well.

I am afraid third-party data providers are beyond our support scope, but if you can somehow access the data with a custom database call, you can bind it to the MVC Grid component:
https://demos.telerik.com/aspnet-mvc/grid/remote-data-binding

Or use custom binding logic to send your own parameters to the stored procedure:
https://demos.telerik.com/aspnet-mvc/grid/customajaxbinding

Perhaps external sources like this one might help:
https://stackoverflow.com/questions/11948131/postgresql-writing-dynamic-sql-in-stored-procedure-that-returns-a-result-set

 

Regards,
Eyup
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Tags
Accessibility
Asked by
Bipin
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or