Question

I am am currently trying out the Community ODBC Adapter (from TwoConnect) to call stored procedures on a MySQL database.

I have been able to use the MySQL ODBC driver to connect to the database, but when generating the schemas for a stored procedure with input parameters I am getting the following error:

Incorrect Number of arguments for Procedure addupdate_product; expected 7, got 0

This error occurs following the press of the Generate button, with the Query:

addupdate_product()

How to correct the syntax?

Was it helpful?

Solution 2

I have now figured out how to use the ODBC Adpater with a MySQL stored procedure that has parameters.

The key to this is not selecting the stored procedure option and instead using the SQL Script option.

Full details can be found here :

http://geekswithblogs.net/StuartBrierley/archive/2010/06/09/biztalk-2009---the-community-odbc-adapter-schema-generation-with.aspx

OTHER TIPS

SHOW CREATE PROCEDURE addupdate_product; doesn't tell you which parameters to provide, or are they not coming through?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top