>Mohit Agarwal wrote:
> > There are 2 options:
> >
> > 1.  RTFM
> > 2.  Find an appropriate list.  IMO this doesn't pertain to perl dbi at
> >     all, read the faq.  The most elementary faq shouldn't be more than
> >     enough for you.
> >
> > HTH and take care!
>
>1. I don't know if I associated the right words to RTFM, but I'm quite
>sure yes.. heheheh
>    If you use mySQL you will see in the F Manual that LIKE is for
>pattern matching, and you can also use REGEXP function. "Note that you
>do not use = or != when you use SQL patterns; use the LIKE or NOT LIKE
>comparison operators instead." In your case you can use "=" or like
>without any wildcards.
>
>2. [EMAIL PROTECTED] if you are with mySQL. they answer this type of
>question everyday even if it's in the FM. You can use a mailinglist for
>your database or for general SQL.

Thank you for all the flame responses I had back from this one! :-)

Everyone who provided a code snippet actually turned out to be useless - 
thanks anyway.

Those who reminded me to RTFM, thanks! I found what I was looking for:

The FIND_IN_SET('$value',$col_name); function.

Wil

Reply via email to