Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 syntax to call MySQL sproc from SSRS

Author  Topic 

Suz2012
Starting Member

2 Posts

Posted - 2012-07-23 : 17:49:46
I'm trying to create a new dataset in RS that will execute a MySQL sproc. After selecting "stored procedure" as the query type on the dataset properties window, I can select the procedure from the drop down. Anyone familar with this process knows that the selected procedure appears in the box as schema_name.proc_name however when I click ok a syntax error is thrown. Does anyone know what should be changed to avoid the syntax error?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-07-23 : 17:59:58
Is the data source setup properly in that it is using a MySql driver? You can't use a SQL Server driver for it.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Suz2012
Starting Member

2 Posts

Posted - 2012-07-24 : 10:08:02
The data source is correctly set up. In fact, I have a second dataset of query type text that successfully selects from a MySQL table and returns report data. The issue is with calling MySQL stored procedures from SSRS.
Go to Top of Page
   

- Advertisement -