Subject | Re: [firebird-support] Functions in PL/SQL |
---|---|
Author | Helen Borrie |
Post date | 2008-02-14T11:21:07Z |
At 10:07 PM 14/02/2008, you wrote:
Why not describe what you want to do and see what suggestions come up.
./heLen
>Can I write Firebird functions in PL/SQL? For all I know it's not possibleNo, you can't....but...
>and I must use UDF, but maybe I am mistaken (I wish I were - I need to write
>a function and UDF is something I need to avoid if at all possible).
>Unfortunatelly I can't find any relevant information on this in the
>documentation.
>I would appreciate any pointers.You can write SPs that return a single value to the caller - which may be a client application, a trigger or another SP. You can't invoke them like functions but your requirement might enable you to define a reusable procedure call that will achieve the same end.
Why not describe what you want to do and see what suggestions come up.
./heLen