Subject | Re: [firebird-support] SP not returning a table |
---|---|
Author | Martijn Tonies |
Post date | 2007-04-24T17:14:24Z |
Hi,
the last line of the stored procedure but I'm getting an error:
That's another possibility, yes.
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
>I've finished a stored procedure and I need it to return mytable (that Imodify in the stored procedure) so I just >added a SELECT * from mytable as
the last line of the stored procedure but I'm getting an error:
>A "select" always needs an "into" clause in a Stored Procedure.
> SQL error code = -104.
>Token unknown - line 74, char 22.
>;.
> But a table can't be an output parameter of a SP, should I execute theSP and then show mytable doing the >SELECT outside the SP?
That's another possibility, yes.
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com