Subject | Re: [firebird-support] Parametrized views? |
---|---|
Author | PenWin |
Post date | 2010-03-09T09:24:25Z |
Dne 9.3.2010 10:19, Martijn Tonies napsal(a):
Even that simple example of mine would be quite problematic with views;
essentially, you would have to rewrite all of the view's content into
your select - that SUM() would need to be outside the view. Of course,
that is feasible with that example, but just a little more complex
expression would quickly become infeasible.
Pepak
> Hello Pepak,Apart from the fact that it won't work, nothing :-)
>
> What's wrong with a normal VIEW and adding a WHERE
> clause when you do a SELECT?
>
Even that simple example of mine would be quite problematic with views;
essentially, you would have to rewrite all of the view's content into
your select - that SUM() would need to be outside the view. Of course,
that is feasible with that example, but just a little more complex
expression would quickly become infeasible.
Pepak