Subject | Syntax of JOIN for STORED PROCEDURE |
---|---|
Author | Jeroen W. Pluimers (mailings) |
Post date | 2001-08-30T13:18:45Z |
Helen,
view then?
I use this:
select TableA.something
, ProcedureB.something
from TableA
join ProcedureB(TableA.Field1, TableA.Field1)
on 1=1
The "ON 1=1" will perform the JOIN for ALL records in TableA, which is
exactly what I want.
--
Jeroen W. Pluimers
Consultant at All I M
http://www.all-im.com
> >join VacancyOverView(vacancyturnaroundtimereport.companyid,So how do I join the output of a stored procedure with a regular table or
> >vacancyturnaroundtimereport.vacancyid)
> > on 1=1
>
> This isn't valid join syntax.
view then?
I use this:
select TableA.something
, ProcedureB.something
from TableA
join ProcedureB(TableA.Field1, TableA.Field1)
on 1=1
The "ON 1=1" will perform the JOIN for ALL records in TableA, which is
exactly what I want.
--
Jeroen W. Pluimers
Consultant at All I M
http://www.all-im.com