Replace like
| From: | sharmad at goatelecom dot com | Date: | Fri, 07 Dec 2001 03:40:47 +0000 |
| Subject: | Replace like | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14852@lists.php.net to get a copy of this message | ||
Can anyone tell me how would i replace the following query with a "="
SELECT * from table_name WHERE name LIKE "%name%";
I want to have the same functionality like "LIKE" but having no LIKE word in
it.
Basically i want it for a search engine and i heard that using LIKE decreases
the speed like nothing as compared to "="
-TIA
Sharmad