Subject Re: [firebird-support] message length error (encountered 0, expected 24) ?
Author Lester Caine
Martijn Tonies wrote:

>execute procedure best_matcost (10,10.3)
>
> < ERROR:
> ISC ERROR CODE:335544358
>
> ISC ERROR MESSAGE:
> message length error (encountered 0, expected 24)

I see that when I try to SUBSTRING and there is no 'string' to 'sub' or
the string is too short.
Not sure that it SHOULD complain, but since I normally expect an answer
in that situation, it normally means I've not picked/joined the correct
record anyway ;)
I end up with a check on the data which only processes it if it exists.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services