in reply to Re (3): SQL Stored Procedure return value
in thread SQL Stored Procedure return value
Here is the sql statement I use to retrieve the result at a sql command line.CREATE PROCEDURE TEST @results numeric(9,4) OUTPUT AS BEGIN SELECT @results = 9999.9999 END
Now how would I translate that to my perl code to retrieve the output which should just be 9999.9999. Please note that the last print @mytest is only being used to print to stdout. Please advise.declare @mytest numeric(9,4) exec TEST @results=@mytest OUTPUT print @mytest
|
|---|