Subject | Re: [firebird-support] Stored Procedure Join Syntax |
---|---|
Author | Alexandre Benson Smith |
Post date | 2007-07-10T15:40:25Z |
slalom91 wrote:
try this:
Select fb.*
From FooBar fb
left Join FOO(fb.Table2)
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> I need a little help joining a stored procedure which requires anUse "Left Join" to force the table to be the first stream to be processed.
> input parameter.
>
> e.g.
>
> CREATE PROCEDURE FOO (INPARAM1 INTEGER) RETURNS (OUTDATA1 INTEGER)
> AS
> BEGIN
> for
> select * from my table where mytable.id = INPARAM1
> do
> begin
> Suspend;
> end
> END;
>
> So, I am trying to join the aboved stored procedure into another
> query.
>
> Select fb.*
> >From FooBar fb
> Inner Join FOO(fb.Table2)
>
try this:
Select fb.*
From FooBar fb
left Join FOO(fb.Table2)
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br