I don't know if this is exactly what you mean but in SQL Server you can create a stored procedure with input and output parameters. Input parameters are passed to the function, output parameters are returned by the stored procedure.
This SP returns three output parameters and takes one for input, it also returns a recordset...
hope this helps
____________________________
AndreaVB
16-05-2006 at 12:05 PM
|
luckyboy Level: VB Lord Registered: 05-05-2005 Posts: 161
Re: sql function return few paramets?
can i used your store procedure like this
dim output1 as integer
dim output2 as string
dim output3 as byte
con.execute "Exec test 1," & output1 & "," & output2 & "," & output3