Subject | Re: [firebird-support] In a Firebird UDF, can you establish a connection back to the database? |
---|---|
Author | Doug Chamberlin |
Post date | 2010-12-30T15:26:28Z |
On 12/30/2010 9:34 AM, Steve wrote:
to do this.
Can you actually accomplish it? Possibly.
Should you try? No, I would not. Among other considerations, your
solution could break without warning with any new release of Firebird.
I would try to describe the problem you are trying to solve and see if
someone here can think of a more acceptable solution.
--
Cheers! Doug C.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
> Is it possible (ie. allowed) for (the code inside) a UDF to establish a connection to the database?It is a gross violation of the architecture and intended usage of UDF's
to do this.
Can you actually accomplish it? Possibly.
Should you try? No, I would not. Among other considerations, your
solution could break without warning with any new release of Firebird.
I would try to describe the problem you are trying to solve and see if
someone here can think of a more acceptable solution.
--
Cheers! Doug C.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?