Error While inserting data in stored procedure

Hi Everyone,

I am getting the below error while inserting data through Non Execute Query through procedure and I have also given parameters for insertion.

Do let me know what changes I need to do to resolve the issue.

Thanks in advance


Hello,

Please try to use Execute Query instead of Execute Non Query.

Please find below article:

Thanks

Hi @Binod_Kumar_Biswal

Try with in the parameters name use like @ID, @Subject.

And Check the database in which store procedure was created and the database used in connection.

Hi @ABHIMANYU_THITE1 ,

Thanks for the reply.

I have tried the suggested approach but still the same error is there

Kindly let me know if anything needs to he changed from my end.

Hi @Pramod091257 ,

thanks for your response. Actually I need to insert data into a table through procedure so I was using Non Query activity, kindly suggest if you feel there is something other I need to act upon.

Hello Binod,

May I know which version of UiPath Studio and Database package you are using?

In the latest version of UiPath Studio 2022.4.5 and above we don’t have Execute non query activity.

Upgrade your DB package version to UiPath.Database.Activities.1.7.1 and try using “Run Command”

image

Also, could you please help me to provide the query you are trying to execute?