You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
Topic closed
How do I create a report based on a stored procedure in MySQL instead of a query?
Thanks.
Offline
The end of this post may be of assistance: http://forum.reportserver.net/viewtopic.php?id=120
Offline
If you can (with little effort) use stored procedures with ReportServer depends on the report format you'd like to use. If you are using Birt or Jasper Reports, just follow the respective vendors instructions.
To use a stored procedure as the data source for a dynamic list, on the other hand, is a little bit tricky. The reason behind this is, that the dynamic lists features (sorting, filtering, aggregating...) all rely on the execution of sql-select queries, which usually can not use a procedure (with some databases (e.g. oracle) procedures can return table objects, that can be used in select statements - but with mysql this in not possible).
We can emulate this, by temporarily storing the data in a table (see Toms post), but this is only feasible for rather small datasets.
Cheers,
Thorsten
For completeness:
if you create a view containing the stored procedure, you could use this view in reportserver directly: select * from myview
Regards,
Eduardo
Offline
Pages: 1
Topic closed