SQL query required

Hi

Can someone write a small sql-query for me?

After transferring the profiles from 6.1 to 7.0 the "sex"field wasn't transferred properly.

Now I have about 400 profiles with no data in that field.

And that makes a search difficult.

I need a sqlquery for phpmyadmin:

If in the table "profiles" the field "sex" is empty, then add the text "male" into the field.

Does someone have a query for that please?

Thanks in advance!

Quote · 21 Feb 2010

Update `Profiles` SET `Sex`='male' WHERE `Sex` = '';

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 21 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.