On 15-Aug-2001 Michael Bellears wrote:
> Hi,
>  
> I have a table with approx 500 encrypted users passwords, and I need to
> insert {crypt} at the beginning of each one ->
>  
> eg..
>  
> Sample password:
>  
> $dfij98unoc8jew9048urf
>  
> would become:
>  
> {crypt}$dfij98unoc8jew9048urf
>  


update da_table set password=concat('{crypt}', password);

Regards,
-- 
Don Read                                       [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
                            (53kr33t w0rdz: sql table query)

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