Subject | Re: [ib-support] Functions |
---|---|
Author | Doug Chamberlin |
Post date | 2001-10-17T00:32:29Z |
At 10/16/2001 07:31 PM (Tuesday), Sandeep wrote:
Thinking further, I realize that user defined functions CANNOT perform SQL
queries so if the function needs to do this it looks like you already have
the best solution.
> > select * from tableA aMy first reaction to this is: May I ask why? Looks perfectly good to me.
> > where a.Field = select outputParam from MyStoredProc( Val );
>
>That's what I use right now and I was trying to get away from writing
>[ select outputParam from MyStoredProc( Val ) ]
>everytime i want to get that value.
Thinking further, I realize that user defined functions CANNOT perform SQL
queries so if the function needs to do this it looks like you already have
the best solution.