On 10 Jun 2002, at 17:10, Elsad YUSIFLI wrote: > WHERE (a.HOST_NAME regexp rtrim(b.ip)+'%')
What are you trying to accomplish there? '%' is not a special character in regular expressions. Are you mixing up REGEXP and LIKE? Even if that's what it is, I'd expect a column called ip to be a complete IP address, so trimming it and looking for things that begin with it wouldn't make much sense. But then maybe you're somehow stuck with confusing column names. [Filter fodder: SQL] -- Keith C. Ivey <[EMAIL PROTECTED]> Tobacco Documents Online http://tobaccodocuments.org --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php