Subject | Re: Create view from join(s) of table and stored procedure? |
---|---|
Author | Adam |
Post date | 2007-06-08T05:02:05Z |
--- In firebird-support@yahoogroups.com, Elias Sabbagh <ehs@...> wrote:
procedure from in a similar way via a standard query from our app).
You could certainly do it with a stored procedure (you wouldn't even
need to do the join in the query, that could be inside the for select
block.)
Does the select work in its own right? If so it may be a limitation of
views.
Adam
>thanks. I
> Adam-
>
> I think we're on the right track with the view definition, and
> understand why we have to use a left join -- because the table onthe left
> is the only true table, and the server has to loop through it first,I have never tried doing that inside a view (I have joined to a stored
> calling the SP for each record... I've gone ahead and used your SQL to
> define the view.
>
> Unfortunately, now I'm getting a "Dynamic SQL Error: feature is not
> supported" message! I think that I'm going to have to try a different
> tack. Perhaps pure stored-procedures instead of views.
>
procedure from in a similar way via a standard query from our app).
You could certainly do it with a stored procedure (you wouldn't even
need to do the join in the query, that could be inside the for select
block.)
Does the select work in its own right? If so it may be a limitation of
views.
Adam