Marcus Ouimet ([EMAIL PROTECTED]) writes:

> I am trying to figure out how to change content using wildcards. Something
> like:
> 
> if the data in the field "date" in the table products equals 2001*.* change
> to 2001000000

"update products set date='2001000000' where date like '2001%'" should work.
--
Ed Carp, N7EKG          [EMAIL PROTECTED]           940/367-2744 cell phone
http://www.pobox.com/~erc               [EMAIL PROTECTED] - text pager

I sometimes wonder if the American people deserve to be free - they seem
so unwilling to fight to preserve the few freedoms they have left.

---------------------------------------------------------------------
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

Reply via email to