Subject | Re: [firebird-support] joining stored procedures results |
---|---|
Author | Martijn Tonies |
Post date | 2004-09-01T11:46:41Z |
Hi,
on SP1.ID = SP2.ID
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I have a stroed procedure returning sets of foreignkey valuesI think you need to write:
> sp1(param1) returning id
>
> and another stored procdures returning greater sets of the same
> foreignkey values enhanced with some more params
> sp2(param2) returning id, field1, field2
>
> I want to
> select *
> from
> sp1(param1)
> left join sp2(param2)
> on sp1(param1).id = sp2(param2).id
on SP1.ID = SP2.ID
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com