MSSQL-Plus cannot find my Stored Procedure :-(

Hi All,

As per the title, I am getting the following error:

The node is configured like this:

My stored procedure (usp_My_Insert) is in the "Stored Procedures" folder in SQL Server. It works fine on the server.

The connection node used in this flow works fine for other SQL tasks.

All thoughts appreciated :grinning_face:

try prefixing it with dbo. (or whatever schema it belongs to)

It could also be a permission issue (does the account setup on the config have EXECUTE permissions on the stored procedure?)

Hi Steve,

I have tried with and without the "dbo." with no success.

The permissions are as this:

Any further thoughts?

Just for completeness:

If i call a mssql sp from node-red, i use the scheme (with brackets!)
[dbname].[schema].[uspname]

Have you tried this?

@kitori Perfect! That worked straight away :smile:

For interest the SQL User Account has access to multiple databases, so thinking about it, your fix probably makes perfect sense :+1:

Thanks to all.