Subject | Re: Re[2]: [ib-support] Query syntax |
---|---|
Author | Arno Brinkman |
Post date | 2003-04-16T07:14:11Z |
Hi,
The left join ensures that the SP is 'executed' after tbl_contact, so
contact_id holds a value.
Regards,
Arno
> Actually I tried another one:I don't see anything wrong with using a LEFT JOIN then !
>
> select
> info.*
> from
> tbl_contact con LEFT OUTER JOIN sp_more_info(con.contact_id) info
> where
> con.value = ....
>
> And it works ??? I can not understand why. My guess is this is not
> a correct query.
>
> The intention of this query is that I fetch Id-s from one table and
> whant to read moreinfo about this Id's. Can you suggest some better
> way to do this, maybe using view or something
The left join ensures that the SP is 'executed' after tbl_contact, so
contact_id holds a value.
Regards,
Arno