in reply to SQL Stored Procedure return value
Since you only have one output parameter and don't appear to be processing a result set as well, you can just do this after the execute: @output = $sth->func('syb_output_params');And $output[0] will contain the value (unless the proc failed, of course).
If you're also processing a result set, it's more complicated. Look up the documentation in the module, the section called "Retrieving output parameters from stored procedures" (appropriately enough).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: SQL Stored Procedure return value
by gnangia (Scribe) on Jul 17, 2003 at 18:38 UTC | |
by derby (Abbot) on Jul 17, 2003 at 18:58 UTC | |
by VSarkiss (Monsignor) on Jul 17, 2003 at 18:45 UTC | |
by gnangia (Scribe) on Jul 17, 2003 at 18:51 UTC | |
by gnangia (Scribe) on Jul 17, 2003 at 19:12 UTC | |
by mpeppler (Vicar) on Jul 17, 2003 at 20:25 UTC | |
by gnangia (Scribe) on Jul 18, 2003 at 03:41 UTC | |
by mpeppler (Vicar) on Jul 18, 2003 at 11:20 UTC | |
|