Re: SQL question
| From: | Muhammed Mamedov | Date: | Thu, 11 Dec 2003 12:00:34 +0000 |
| Subject: | Re: SQL question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31989@lists.php.net to get a copy of this message | ||
It should be as follows:
SELECT * FROM x_table WHERE name Like = "%part_of_name%"
Hope this helps,
M.Mamedov
----- Original Message -----
From: "Constantin Brinzoi" <aurel@irecson.ro>
To: <php-db@lists.php.net>
Sent: Thursday, December 11, 2003 1:51 PM
Subject: [PHP-DB] SQL question
> I know it is possible to search a database like this:
>
> SELECT * FROM x_table WHERE name="%part_of_name%"
>
> but I don't know for sure the correct command.
>
> Could you tell me the right syntax?
>
> TIA
> Aurel.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 27.11.2003