Subject Re: [firebird-support] Modifying Trim()
Author Elmar Haneke
> I suggest you fix your code to make it portable and not dependent on
> your UDF.

That's certainly the better way for the long term.

> But if you're in a corner, I think that declaring your UDF in
> the database will give it precedence over the internal function with the
> same name.

Firebird refuses the declare statement until the name Trim is enclosed
into quotes.

The definition with quotes is used only if the quotes are also in select
statement - this does not help to be compatible with existing code.