There must be an easy way to call a stored procedure using input and output variables, but I am having no luck.
For debug, I wrote a simple stored procedure (MS SQL Server), which as follows:
------
CREATE PROCEDURE sp_test_procedure
(
@ser_num varchar(50),
@new_ser_num varchar(50) OUTPUT
)
AS
SET @new_ser_num = @ser_num + ' <<<--- This Is Your Serial Number'
RETURN
GO
----
I am using LabVIEW 6.02, and the database connectivity toolset (ADO.
All the items found on NI's site seem to relate to a) the older SQL toolkit, or b) a stored procedure that returns a recordset.