[Asterisk-Users] Re: [Users] Re: [Users] OT : For the SQL gurus..

Reinhard Max max at suse.de
Mon Nov 10 05:11:49 MST 2003


On Mon, 10 Nov 2003 at 12:33, Reinhard Max wrote:

>  SELECT DISTINCT *,length(code)
>  FROM a
>  WHERE '00442085673456' LIKE (code || '%')
>  ORDER length(code) DESC;
        ^
        BY

Oops, that one got lost when I re-formatted the query.

cu
	Reinhard




More information about the asterisk-users mailing list