Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

Re: [PHP-DB] sql: LIKE From: CC Zona (cczona <email protected>)
Date: 01/11/01

In article <14589.979197692 <email protected>>, venome <email protected> wrote:

> "SELECT bar FROM foo WHERE bar LIKE '%foo%'" should return something like
> the order
>
> bar
> ---------------------------
> 'foo' (exact match)
> 'the foo is a foo is a foo' (3 matches)
> 'have you seen the foo?' (1 match)

What DBMS? In recent versions of MySQL "fulltext" indexing was added; it
does approximately what you describe.

-- 
CC

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>