Subject | Re: Stored Procedure as a Function? |
---|---|
Author | apribek |
Post date | 2003-09-26T10:45:52Z |
Thanks a lot Martijn, this will do perfectly for me!
Adam
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
Adam
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
> Hi Adam,having
>
> > Is it possible to use Stored Procedures as (UD) Functions, ie.
> > declared a procedure XY is there a way to use the "select col1, XY(I
> > (col2) from foo" or similar syntax? Or any ideas to achieve this?
> > know that I could do it with a select procedure that would returnthe
> > same thing using an execute procedure in a select loop, but I amSQL Server.
> > looking for something that looks more like a selection).
>
> Pretty much the only thing you can do is:
>
> select col1, (select outputparam from xy(col2) )
> from foo
>
>
> With regards,
>
> Martijn Tonies
> Database Workbench - developer tool for InterBase, Firebird & MS
> Upscene Productions
> http://www.upscene.com