Subject | Re: [firebird-support] UDFs and Exceptions |
---|---|
Author | Milan Babuskov |
Post date | 2006-08-03T15:26Z |
firebird@... wrote:
0 - matches
1 - doesn't match
2 - error in pattern
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
> It's pretty clear that UDFs can't provoke an SQL error, which is unfortunateYou could return an integer:
> for me, because I have a Regular Expression UDF and it would've been
> great if I could've returned an error in this way when the pattern had an
> error (as opposed to not matching).
0 - matches
1 - doesn't match
2 - error in pattern
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org