RE: MYSQL Stored Procedur Error
Posted by: Pravesh Patel
Date: May 11, 2012 10:26AM

Hi,

I get the following error:
Procedure or function '`sp_name`' cannot be found in database '`database`'

I wrote function the builds a stored procedure, passing the store procedure parameters. The function inturn is used in a dataset function, which uses a data adapter to autofill the dataset before function returns the dataset.

I know th stored procedure work because when I run it manually with specified parameter values it returns records from a table that it builds.

The stored procedure is programmed to drop and re-create the table on the fly, every time it is executed, to avoid duplicate records. I was wondering if anyone has a solution. Maybe the the stored procedure function is dropping and re-creating the able sychronously, therefore when the dataadapter is trying to fill the dataset, it is doing so when the table has not been created as yet.

I hope someone out there has a resolution to this problem.

Options: ReplyQuote


Subject
Written By
Posted
RE: MYSQL Stored Procedur Error
May 11, 2012 10:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.