Hi, This is driving me crazy....I can't get a return value from a Stored
Procedure.
I've made a simple test SP
----------------------------------------------
CREATE PROCEDURE [spTest]
AS
return 1
----------------------------------------------
but when I call it from this ASP code
----------------------------------------------
...omissis....
oCmd.CommandText = "spTest"
oCmd.CommandType = adCmdStoredProc
Set oRs = oCmd.Execute
Response.Write "1 - " & oCmd.Parameters(i).Direction & "<BR>"
Response.Write "2 - " & oCmd.Parameters(i).Name & "<BR>"
Response.Write "3 - " & oCmd.Parameters(i).Type & "<BR>"
Response.Write "4 - " & Cint(oCmd.Parameters(i).Value) & "<BR>"
...omissis....
----------------------------------------------
I get this
----------------------------------------------
1 - 4
2 - RETURN_VALUE
3 - 3
4 - 0
----------------------------------------------
Can anybody help me?
Thanks
Archimede D'Agostino