Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: executing a stored procedure with 2 sql statements and returning the final resultset
Date: Oct 25 2000 12:18AM
Klein, Shoshana R writes:
> Is there a way of executing a stored procedure with 2 sql statements and
> only returning the final resultset to my perl script.
> For instance, if I want to select * into temp-tbl from sysusers where name
> like xyz and then
> select * from temp-tbl where x=myprof
> So far I've only been successful with 1 sql statement returning 1 resultset.
Hmmm.... normally if you execute the two statements above you should
only get the results from the second statement (the first one doesn't
produce any rows)
Do you have an actual example that you could post?
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com