Node-red-contrib-mssql-plus Execute Procedure

Hi all!

Could anyone give my an example of executing a stored procedure (with 2 parameters), please?


gives me msg.payload: undefined

This is the working SQL studio code:

USE [xxx]
GO

DECLARE	@return_value int

EXEC	@return_value = [dbo].[Store_Procedure]
		@type = 14,
		@year = 23

SELECT	'Return Value' = @return_value

GO

Hi,
I don't use this node but you can try this one, you configure your query directly in the payload as an object.

What is the "query mode" drop-down set to?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.