in reply to Re: Capturing a value returned from a stored procedure
in thread Capturing a value returned from a stored procedure

;-)

Yes. in my stored proc

..bunch of code.. COMMIT TRAN SELECT @id
and then in my script
my @id = $sth->fetchrow_array; return $id[0];
does the trick. Many thanks.