Subject | RE: [firebird-support] Sorting and filtering by UDF result |
---|---|
Author | Si Carter |
Post date | 2006-03-10T11:50:29Z |
> -----Original Message-----You could always create a view and then perform a select on the view with an
> I have written a UDF ( F_MATCHCOUNT(string, pattern) ) that
> returns the number of times a given pattern string occurs in
> another string.
> Is there a more efficient way I can perform the following
> query on Firebird 1.5, where I only need to call the UDF once?
order by where matchcount > 0
Rgds
Si Carter
http://www.fbtalk.net/ - Web Based Firebird Forum
http://sourceforge.net/projects/fbutils - FBUtils
http://sourceforge.net/projects/dnfbb - Web based, Firebird Powered Forum