Failure happened on 'Source' side. 'Type=MySql.Data.MySqlClient.MySqlException,Message=Parameter '@notify' must be defined. To use this as a variable, set 'Allow User Variables=true'

THOBANI M MNGOMA 41 Reputation points
2022-10-04T22:09:50.743+00:00

Hello,

I have a stored proc in mariadb and unfortunately the Azure pipeline does not support odbc or mariadb linked services stored proce connection. Thus I found a workaround by using "Lookups". It works however the Look throughs an error if no value is returned. Therefore I used a OUT parameter to pass a dummy variable. Now the issue is that the variable in DF does throws an error. Kindly assist.

Code:

CALL removeduplicates(@notify);

Stored Proc:

CREATE OR REPLACE PROCEDURE removeduplicates ( OUT notify VARCHAR(20) )

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
986 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.